Learn R Programming

spOccupancy (version 0.8.0)

fitted.svcTMsPGOcc: Extract Model Fitted Values for svcTMsPGOcc Object

Description

Method for extracting model fitted values and detection probability values from a fitted multi-species multi-season spatially varying coefficient occupancy (svcTMsPGOcc) model.

Usage

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

Value

A list comprised of:

y.rep.samples

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

p.samples

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

Arguments

object

object of class svcTMsPGOcc.

...

currently no additional arguments

Details

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