Skip to contents

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

Usage

<!-- % deviance.manylm -->
# S3 method for 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

Examples

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

## Calculate the deviance:
deviance(manylm(spiddat~., data=spider$x))
#>  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