this is old code that I do not know if it will work with
inla.mode="experimental" which is now the new default.
you may try with inla.mode="classic", if that goes through then that is
the issue
otherwise, you can do this manually yourself?
On Fri, 2023-03-17 at 10:56 -0700, Prince Michael Amegbor wrote:
> Thanks, Håvard.
>
> ID is in the dataframe. I figured the problem was I didn't put ID in
> quotation marks in the inla.cut call -
> inla.cut(M1, "ID")
>
> However, I got a new error
>
> Error in `x[order(x, na.last = na.last, decreasing = decreasing)]`:
> ! Can't subset columns past the end.
> ℹ Locations 2, 3, 4, …, 7, and 8 don't exist.