View source: R/predicted_measured_plots.R
fortify.WA | R Documentation |
Plots of predicted against measured environmental variables for transfer functions made with the rioja package.
## 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, ... )
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 |
require("rioja") require("ggplot2") data(ImbrieKipp, SumSST, V12.122, package = "analogue") mod <- MAT(ImbrieKipp, SumSST) autoplot(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.