Learn R Programming

analogue (version 0.17-4)

performance: Transfer function model performance statistics

Description

A simple extractor function to access the model performance statistics of transfer function models.

Usage

performance(object, ...)

Arguments

object

A transfer function object.

Arguments passed to other methods. Currently ignored.

Value

A named vector containing the extracted model performance statistics.

Details

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.

See Also

wa, predict.wa, bootstrap.wa.

Examples

Run this code
# NOT RUN {
data(ImbrieKipp)
data(SumSST)

## fit the WA model
mod <- wa(SumSST ~., data = ImbrieKipp)
mod

## the model performance statistics
performance(mod)
# }

Run the code above in your browser using DataLab