autoplot.WA: autoplot for rioja transfer functions

Description Usage Arguments Examples

View source: R/predicted_measured_plots.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## 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

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

richardjtelford/ggpalaeo documentation built on Dec. 7, 2018, 7:55 a.m.