fitted.sfJSDM {spOccupancy}R Documentation

Extract Model Fitted Values for sfJSDM Object

Description

Method for extracting model fitted values and probability values from a fitted spatial factor joint species distribution model (sfJSDM).

Usage

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

Arguments

object

object of class sfJSDM.

...

currently no additional arguments

Details

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

Value

A list comprised of:

z.samples

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

psi.samples

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


[Package spOccupancy version 0.7.6 Index]