deviance.manylm: Model Deviance

deviance.manylmR Documentation

Model Deviance

Description

Returns the deviance of a fitted multivariate model object for abundance data.

Usage


## S3 method for class 'manylm'
deviance(object, na.action="na.omit", ...)

Arguments

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.

Value

The value of the deviance extracted from the object object.

See Also

manylm.

Examples

data(spider)
spiddat <- mvabund(spider$abund)

## Calculate the deviance:
deviance(manylm(spiddat~., data=spider$x))

aliceyiwang/mvabund documentation built on March 13, 2024, 1:58 a.m.