Old methods fo sampling from a SPDE model. For new code, use inla.spde.precision() and inla.qsample() instead.

inla.spde.sample(...)

# Default S3 method
inla.spde.sample(precision, seed = NULL, ...)

# S3 method for class 'inla.spde'
inla.spde.sample(spde, seed = NULL, ...)

Arguments

...

Parameters passed on to other methods.

precision

A precision matrix.

seed

The seed for the pseudo-random generator.

spde

An inla.spde object.

Author

Finn Lindgren finn.lindgren@gmail.com