
Extract Model Fitted Values for spDS Object
fitted.spDS.Rd
Method for extracting model fitted values and cell-specific detection probabilities from a spatial hierarchical distance sampling (spDS
) model.
Usage
# S3 method for spDS
fitted(object, ...)
Details
A method to the generic fitted
function to extract fitted values and detection probabilities for fitted model objects of class spDS
.
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 distance bin.
- pi.samples
A three-dimensional numeric array of cell-specific detection probability values. Values correspond to the probability of detecting an individual within a given distance band at a given location. Array dimensions correspond to MCMC samples, sites, and distance band.