getGrid: getGrid function

View source: R/postprocessing.R

getGridR Documentation

getGrid function

Description

A function to extract and return the computational grid from a gridded analysis.

Usage

getGrid(mod, returnclass = "SpatialPolygonsDataFrame")

Arguments

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'

Value

a SpatialPolygonsDataFrame in which Monte Carlo expectations can be stored and later plotted.


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.