mesh2projector {INLAspacetime} | R Documentation |
Illustrative code to build the projector matrix for SPDE models.
Description
Creates a projector matrix object.
Usage
mesh2projector(
mesh,
loc = NULL,
lattice = NULL,
xlim = NULL,
ylim = NULL,
dims = c(100, 100)
)
Arguments
mesh |
a 2d mesh object. |
loc |
a two columns matrix with the locations to project for. |
lattice |
Unused; feature not supported by this illustration. |
xlim , ylim |
vector with the boundary limits. |
dims |
the number of subdivisions over each boundary limits. |
Value
the projector matrix as a list with sparse matrix object at x$proj$A
..
Warning
This is just for illustration purpose and one should consider the
efficient functions available in the INLA and inlabru packages,
e.g. inlabru::fm_evaluator
.
[Package INLAspacetime version 0.1.8 Index]