Learn R Programming

mvabund (version 4.2.8)

deviance.manylm: Model Deviance

Description

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

Usage


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

Value

The value of the deviance extracted from the object object.

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.

See Also

manylm.

Examples

Run this code
data(spider)
spiddat <- mvabund(spider$abund)

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

Run the code above in your browser using DataLab