inla.mesh
for
rSPDE objectsCalculate a lattice projection to/from an inla.mesh
for
rSPDE objects
rspde.mesh.project(...)rspde.mesh.projector(
mesh,
nu = NULL,
rspde.order = 1,
loc = NULL,
lattice = NULL,
xlim = NULL,
ylim = NULL,
dims = c(100, 100),
projection = NULL,
...
)
# S3 method for inla.mesh
rspde.mesh.project(
mesh,
loc = NULL,
field = NULL,
rspde.order = 1,
nu = NULL,
...
)
# S3 method for rspde.mesh.projector
rspde.mesh.project(projector, field, ...)
# S3 method for inla.mesh.1d
rspde.mesh.project(mesh, loc, field = NULL, rspde.order = 1, nu = NULL, ...)
A list with projection information for rspde.mesh.project. For rspde.mesh.projector(mesh, ...), a rspde.mesh.projector object. For rspde.mesh.project(projector, field, ...), a field projected from the mesh onto the locations given by the projector object.
Additional parameters.
An inla.mesh
or inla.mesh.1d
object.
The smoothness parameter. If NULL
, it will be assumed that
nu was estimated.
The order of the rational approximation.
Projection locations. Can be a matrix or a SpatialPoints or a SpatialPointsDataFrame object.
An inla.mesh.lattice
object.
X-axis limits for a lattice. For R2 meshes, defaults to covering the domain.
Y-axis limits for a lattice. For R2 meshes, defaults to covering the domain.
Lattice dimensions.
One of c("default", "longlat", "longsinlat", "mollweide").
Basis function weights, one per mesh basis function, describing the function to be evaluated at the projection locations.
A rspde.mesh.projector
object.
This function is built upon the inla.mesh.project and inla.mesh.projector functions from INLA.