autoplot.WA: autoplot for rioja transfer functions

View source: R/predicted_measured_plots.R

fortify.WAR Documentation

autoplot for rioja transfer functions

Description

Plots of predicted against measured environmental variables for transfer functions made with the rioja package.

Usage

## S3 method for class 'WA'
fortify(object, column = "WA.inv")

## S3 method for class 'WAPLS'
fortify(object, npls = 1)

## S3 method for class 'MLRC'
fortify(object)

## S3 method for class 'MAT'
fortify(object, k = 5, weighted = FALSE)

fortify_tf(object, column)

## S3 method for class 'WAPLS'
autoplot(object, npls, ...)

## S3 method for class 'WA'
autoplot(object, ...)

## S3 method for class 'MAT'
autoplot(object, k = 5, weighted = FALSE, ...)

## S3 method for class 'MLRC'
autoplot(object, ...)

autoplot_tf(
  object,
  show_apparent = FALSE,
  residuals = FALSE,
  smooth = TRUE,
  ...
)

Arguments

object

transfer function object from rioja

column

character, name of column to plot

npls

integer, WAPLS component to plot

k

integer, MAT number of analogues to plot

weighted

logical, plot weighted MAT results?

...

Arguments specific to different models.

show_apparent

logical, show apparent performance as well as cross-validated

residuals

logical, show cross-validated residuals

smooth

logical, add smooth to plot

Examples

require("rioja")
require("ggplot2")
data(ImbrieKipp, SumSST, V12.122, package = "analogue")
mod <- MAT(ImbrieKipp, SumSST)
autoplot(mod)

richardjtelford/ggpalaeo documentation built on Nov. 7, 2022, 11:03 p.m.