Creates a projector matrix object.
mesh2projector(
mesh,
loc = NULL,
lattice = NULL,
xlim = NULL,
ylim = NULL,
dims = c(100, 100)
)
the projector matrix as a list with sparse matrix object at x$proj$A
..
a 2d mesh object.
a two columns matrix with the locations to project for.
Unused; feature not supported by this illustration.
vector with the boundary limits.
the number of subdivisions over each boundary limits.
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
.