fitted.lfMsDS {spAbundance}R Documentation

Extract Model Fitted Values for lfMsDS Object

Description

Method for extracting model fitted values and cell-specific detection probabilities from a latent factor multi-species hierarchical distance sampling (lfMsDS) model.

Usage

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

Arguments

object

object of class lfMsDS.

...

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

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 distance bin.

pi.samples

A four-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, species, sites, and distance band.


[Package spAbundance version 0.1.3 Index]