View source: R/postprocessing.R
getGrid | R Documentation |
A function to extract and return the computational grid from a gridded analysis.
getGrid(mod, returnclass = "SpatialPolygonsDataFrame")
mod |
an object of class mcmcspatsurv, returned by the function survspat |
returnclass |
the class of object to return, default is a'SpatialPolygonsDataFrame'. Other options are 'raster', which returns a raster brick; or 'SpatialPixelsDataFrame' |
a SpatialPolygonsDataFrame in which Monte Carlo expectations can be stored and later plotted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.