View source: R/MakeProjectionGrid.R
MakeProjectionGrid | R Documentation |
Function to create stack for predictions
MakeProjectionGrid(nxy, mesh, data, tag = "pred", coordnames = c("X", "Y"), boundary = NULL, intercept = TRUE)
nxy |
Number of points in x and y directions. |
mesh |
INLA mesh. |
data |
Data frame with columns for coordinates, and others are covariates. |
tag |
Name for tag for the stack (defaults to "points"). |
coordnames |
Names of coorinates (defaults to X and Y) |
boundary |
Boundary of region to project onto. Defaults to NULL, when the boundary of the mesh will be used. Either of class SpatialPolygons or two columns with the coorinates of the polygon |
intercept |
Logical: should an intercept be added? Defaults to TRUE |
An INLA stack onto which new data can be projected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.