Learn R Programming

spOccupancy (version 0.8.0)

fitted.stIntPGOcc: Extract Model Fitted Values for stIntPGOcc Object

Description

Method for extracting model fitted values and detection probabilities from a fitted multi-season single-species spatial integrated occupancy (stIntPGOcc) model.

Usage

# S3 method for stIntPGOcc
fitted(object, ...)

Value

A list comprised of:

y.rep.samples

a list of four-dimensional numeric arrays of fitted values for each data set for use in Goodness of Fit assessments. Array dimensions correspond to MCMC samples, sites, primary time periods, and replicates.

p.samples

a list of four-dimensional numeric arrays of detection probability values for each data set. Array dimensions correspond to MCMC samples, sites, primary time periods, and replicates.

Arguments

object

object of class stIntPGOcc.

...

currently no additional arguments

Details

A method to the generic fitted function to extract fitted values and detection probabilities for fitted model objects of class stIntPGOcc.