deviance.manylm: Model Deviance

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
data(spider)
spiddat <- mvabund(spider$abund)
X <- spider$x

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

Example output

 Alopacce  Alopcune  Alopfabr  Arctlute  Arctperi  Auloalbi  Pardlugu  Pardmont 
 582.8805 1077.0617  284.8376  114.4330  141.9078  947.7414 1815.1110 8741.4379 
 Pardnigr  Pardpull  Trocterr  Zoraspin 
9795.7518 7376.4087 7555.8311  925.6918 

mvabund documentation built on May 2, 2019, 6:10 p.m.