Skip to content
Discussion options

You must be logged in to vote

Hi Sara,

David sent me your codes and data from this example.

The problem is that you did not provide the control.predictor to inla.

You should fit the model as:

spde_fit <- inla(f.s, data = data_stk, control.predictor=list(A=inla.stack.A(stk_dat)))

I see that you used our example from the vignette. I have no idea why it worked in our case, but I have updated there to avoid any problems like this in the future.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by davidbolin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants