plotContTradeOffs: Double y-axis Walters plot

View source: R/plotDblAxis.R

plotContTradeOffsR Documentation

Double y-axis Walters plot

Description

This function generates a double y-axis plot of the variety popularized by C. Walters to visualize tradeoffs between multiple performance metrics simultaneously. It may be untoward to try place so many different variables with divergents units in the same figure, but hey, people seem to want to see them...

Usage

plotContTradeOffs(agDat, keyVar = "expRate", double = TRUE)

Arguments

agDat

Dataframe generated by buildDataAgg.

keyVar

A character value corresponding to the harvest control rule-esqure variable that is on the x-axis (defaults to "expRate") that is used to label x-axis and subset data input data Should correspond to the keyVarName in buildDataAgg.

double

A logical that determines whether a double or single y-axis plot is generated.

Value

Returns a base plot object.


CamFreshwater/samSim documentation built on Sept. 25, 2023, 10:22 a.m.