Extract Model Fitted Values for spPGOcc Object
fitted.spPGOcc.Rd
Method for extracting model fitted values and detection probabilities from a fitted single-species spatial occupancy (spPGOcc
) model.
Usage
# S3 method for spPGOcc
fitted(object, ...)
Details
A method to the generic fitted
function to extract fitted values and detection probabilities for fitted model objects of class spPGOcc
.
Value
A list comprised of:
- y.rep.samples
A three-dimensional numeric array of fitted values for use in Goodness of Fit assessments. Array dimensions correspond to MCMC samples, sites, and replicates.
- p.samples
A three-dimensional numeric array of detection probability values. Array dimensions correspond to MCMC samples, sites, and replicates.