fitted.stIntPGOcc function

Extract Model Fitted Values for stIntPGOcc Object

Extract Model Fitted Values for stIntPGOcc Object

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

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

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.

Returns

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.