fitted.stPGOcc: Extract Model Fitted Values for stPGOcc Object

View source: R/generics.R

fitted.stPGOccR Documentation

Extract Model Fitted Values for stPGOcc Object

Description

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

Usage

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

Arguments

object

object of class stPGOcc.

...

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 stPGOcc.

Value

A list comprised of:

y.rep.samples

A four-dimensional numeric array of fitted values for use in Goodness of Fit assessments. Array dimensions correspond to MCMC samples, sites, primary time periods, and replicates.

p.samples

A four-dimensional numeric array of detection probability values. Array dimensions correspond to MCMC samples, sites, primary time periods, and replicates.


spOccupancy documentation built on April 3, 2025, 10:03 p.m.