View source: R/BasicFunctions.R
Specify a function for transforming from regular coordinates to SpatialPolygons as used in the sp-package. Copied from INLAs SPDE-tutorial
1 | multiCoo2sp(coo, ID)
|
coo |
Numeric matrix of dim 2, specifying the x- and y-coordinates to transform |
ID |
The polygon ID each of the coordinates belongs to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.