Learn R Programming

mvabund (version 3.11.9)

deviance.manylm: Model Deviance

Description

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

Usage

"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

object.

See Also

manylm.

Examples

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

## Calculate the deviance:
deviance(manylm(spiddat~X))

Run the code above in your browser using DataLab