getGrid {spatsurv}R 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.


[Package spatsurv version 2.0-1 Index]