residuals.meteRelat {meteR} | R Documentation |
residuals.meteRelat
computes residuals between METE predictions and
data of a meteDist object
## S3 method for class 'meteRelat'
residuals(object, ...)
object |
a |
... |
arguments to be passed |
See Examples. Typically not called directly by the user and rather used for
calculating the mean square error with mse.meteRelat
.
a numeic vector giving residuals for each data point
Andy Rominger <ajrominger@gmail.com>, Cory Merow
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.
mse.meteDist
data(arth)
esf1 <- meteESF(spp=arth$spp,
abund=arth$count,
power=arth$mass^(.75),
minE=min(arth$mass^(.75)))
ebar1 <- ebar(esf1)
residuals(ebar1)