deviance.manylm {mvabund} | R Documentation |
Returns the deviance of a fitted multivariate model object for abundance data.
## S3 method for class 'manylm': deviance(object, na.action="na.omit", ...)
object |
the manylm object. |
na.action |
how to deal with NA values. Can be one of
"na.omit", "na.exclude", "na.fail", NULL
|
... |
additional optional arguments. |
The value of the deviance extracted from the object object
.
data(spider) spiddat <- mvabund(spider$abund) X <- spider$x ## Calculate the deviance: deviance(manylm(spiddat~X))