Elias reply should solve the problem.
> (BTW, in the tutorials and code, calling an object spde is confusing,
> because model=spde and spde=spde refer to different things)
I don't see what you mean here; in both cases two different function
parameters (model and spde) are set to the same object, which is
called spde. Avoiding using names for variables that coincide with
names of function parameters would be an impossible task.
In the f() function, "model" specifies any of a large number of
models, usually as a string, but here as a special object.
For the functions dealing specifically with spde:s on the other hand,
it makes sense to call the function parameter spde.
Finn
> --
> You received this message because you are subscribed to the Google Groups
> "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
r-inla-discussion...@googlegroups.com.
> To post to this group, send an email to
>
r-inla-disc...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/r-inla-discussion-group.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Finn Lindgren
email:
finn.l...@gmail.com