multiCS: Arrange Multiple Collapsed Cross-section Plots on a Grid

View source: R/multiCS.R

multiCSR Documentation

Arrange Multiple Collapsed Cross-section Plots on a Grid

Description

Function to generate a grid of collapsed cross-section plots to faciliate comparison of the 'collapsed' performance metrics of interest across method or dataset. Details of each individual plot structure in ?plotCS.

Usage

multiCS(
  agEval,
  d = 1:length(agEval),
  m = names(agEval[[1]][[1]][[1]]),
  crit,
  layer_type = "method",
  f = "median",
  cross_section = "p",
  highlight = "HWI",
  highlight_color = "#EE5C42",
  colors = c("#F9E0AA", "#F7C65B", "#FAAF08", "#FA812F", "#FA4032", "#F92111")
)

Arguments

agEval

agEvaluate; An object containing the aggregated performance metrics (result of agEvaluate())

d

numeric; A vector to indicate datasets of interest

m

character; A vector of interpolation methods of interest

crit

character; An element describing the performance metric of interest

layer_type

character; How to layer the ribbons (by "method" or by "dataset")

f

character; The statistic of interest defining the ribbon. Possible choices are listed in ?agEvaluate

cross_section

character; An element describing the gap structure variable to represent on the x-axis: either "p" or "g"

highlight

character/numeric; A single method (if layer_type = "method") or dataset (if layer_type = "dataset") to highlight.

highlight_color

character; An HTML color of format "#xxxxxx" to apply to highlight

colors

character; A vector of the desired color palette, with entries in HTML format ("#xxxxxx")


castels/interpTools documentation built on June 7, 2024, 4:20 p.m.