Description Usage Arguments Details Value Author(s) See Also Examples
A simple extractor function to access the model performance statistics of transfer function models.
1 | performance(object, ...)
|
object |
A transfer function object. |
... |
Arguments passed to other methods. Currently ignored. |
performance
is a generic function for use with a number of
fitted models objects in analogue. The available methods are:
wa
Weighted Averaging Models.
predict.wa
Predictions from a Weighted Average
Model.
pcr
Principal Component Regression models.
bootstrap.wa
Bootstrapped Weighted Averaging
Models.
crossval
Cross-validated models fitted via
crossval
.
A named vector containing the extracted model performance statistics.
Gavin L. Simpson
1 2 3 4 5 6 7 8 9 | data(ImbrieKipp)
data(SumSST)
## fit the WA model
mod <- wa(SumSST ~., data = ImbrieKipp)
mod
## the model performance statistics
performance(mod)
|
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-7
analogue version 0.17-5
Weighted Averaging Transfer Function
Call:
wa(formula = SumSST ~ ., data = ImbrieKipp)
Deshrinking : Inverse
Tolerance DW : No
No. samples : 61
No. species : 27
Performance:
RMSE R-squared Avg. Bias Max. Bias
2.0188 0.9173 0.0000 -3.8155
RMSE R2 Avg.Bias Max.Bias
2.019 0.917 0.000 -3.815
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.