env_parm_labeller {oceanexplorer} | R Documentation |
Parsing expressions for plot labels
Description
Conveniently converts NOAA world ocean atlas parameter names into full oceanographic variable names including units for parsing in plot labels.
Usage
env_parm_labeller(var, prefix = character(1), postfix = character(1))
Arguments
var |
Environmental parameter. |
prefix |
Prefix. |
postfix |
Postfix. |
Value
Expression
Examples
# expression
env_parm_labeller("t_an")
# plot with temperature axis label
library(ggplot2)
ggplot() +
geom_blank() +
ylab(env_parm_labeller("t_an"))
[Package oceanexplorer version 0.1.0 Index]