fitted.lfJSDM {spOccupancy} | R Documentation |
Extract Model Fitted Values for lfJSDM Object
Description
Method for extracting model fitted values and probability values from a fitted latent factor joint species distribution model (lfJSDM
).
Usage
## S3 method for class 'lfJSDM'
fitted(object, ...)
Arguments
object |
object of class |
... |
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 lfJSDM
.
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]