Learn R Programming

analogue (version 0.17-7)

performance: Transfer function model performance statistics

Description

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

Usage

performance(object, ...)

Value

A named vector containing the extracted model performance statistics.

Arguments

object

A transfer function object.

...

Arguments passed to other methods. Currently ignored.

Author

Gavin L. Simpson

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
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