Description Usage Arguments Value
View source: R/BasicFunctions.R
Creating a grid spanning the complete mesh with a specified pixel size and a projection from the mesh to the grid
1 2 3 4 5 6 7 | GridCreation(
mesh,
countingDomain,
areaCountDomain,
grid.pixelsize = 0.2,
gridSpan = "mesh"
)
|
mesh |
Mesh object, being the output from inla.mesh.2d |
countingDomain |
data.frame containing x- and y-coordinates of the counting domain polygon |
areaCountDomain |
Numeric giving the area of the counting domain (in km) |
grid.pixelsize |
Numeric, denoting the size (in km, in both x- and y-direction) of each pixel of the grid being used |
gridSpan |
String equal to either "mesh" or "countingDomain" specifying what area the grid should span. |
List with the X and Y-values for the grid, the mesh-to-grid projection object (output form inla.mesh.projector), and other related variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.