fitted.spMsPGOcc {spOccupancy}R Documentation

Extract Model Fitted Values for spMsPGOcc Object

Description

Method for extracting model fitted values and detection probability values from a fitted multi-species spatial occupancy (spMsPGOcc) model.

Usage

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

Arguments

object

object of class spMsPGOcc.

...

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

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, species, sites, and replicates.

p.samples

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


[Package spOccupancy version 0.7.6 Index]