residuals.meteRelat: Compute residuals between METE predictions and date of a...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/residuals.meteRelat.R

Description

residuals.meteRelat computes residuals between METE predictions and data of a meteDist object

Usage

1
2
## S3 method for class 'meteRelat'
residuals(object, ...)

Arguments

object

a meteRelat object

...

arguments to be passed

Details

See Examples. Typically not called directly by the user and rather used for calculating the mean square error with mse.meteRelat.

Value

a numeic vector giving residuals for each data point

Author(s)

Andy Rominger <ajrominger@gmail.com>, Cory Merow

References

Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.

See Also

mse.meteDist

Examples

1
2
3
4
5
6
7
data(arth)
esf1 <- meteESF(spp=arth$spp,
                abund=arth$count,
                power=arth$mass^(.75),
                minE=min(arth$mass^(.75)))
ebar1 <- ebar(esf1)
residuals(ebar1)

meteR documentation built on May 2, 2019, 11:04 a.m.