y_labeler_delta: Generate y-axis Label Based on SWMP Parameter Abbreviation

View source: R/y_labeler_delta.R

y_labeler_deltaR Documentation

Generate y-axis Label Based on SWMP Parameter Abbreviation

Description

Generate y-axis Label Based on SWMP Parameter Abbreviation

Usage

y_labeler_delta(param, converted = FALSE)

Arguments

param

chr string of variable abbreviation

converted

logical, should the parameter label units be converted from metric to english? Defaults to FALSE. Currently available for temp, depth, cdepth, level, clevel, atemp, wspd, maxwspd, and totprcp

Details

A helper function used internally by several plotting functions to generate y-axis labels. This function does not convert sample results from metric to english. It only adjusts the units in the y-axis label.

Value

Returns character vector or an unevaluated expression

Examples

## Not run: 
y_lab <- y_labeler_delta('do_mgl')

## End(Not run)


LimnoTech/SWMPrStorm documentation built on June 14, 2022, 6:27 p.m.