View source: R/mesh2projector.R
mesh2projector | R Documentation |
Creates a projector matrix object.
mesh2projector(
mesh,
loc = NULL,
lattice = NULL,
xlim = NULL,
ylim = NULL,
dims = c(100, 100)
)
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. |
the projector matrix as a list with sparse matrix object at x$proj$A
..
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.