Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/residuals.meteDist.R
residuals.meteDist
computes residuals between METE predictions and
data of a meteDist object
1 2 3 |
object |
a |
type |
'rank' or 'cumulative' |
relative |
logical; if true use relative MSE |
log |
logical; if TRUE calculate MSE on logged distirbution. If FALSE use arithmetic scale. |
... |
arguments to be passed to methods |
See Examples. Typically not called directly by the user and rather used for
calculating the mean square error with mse.meteDist
. If type='rank'
returned value will be of length equal to number of observations (e.g. number of
species in case of SAD) but if type='cumulative'
returned value will be of
length equal to number of unique ovservations (e.g. number of unique abundances in
case of SAR).
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.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.