View source: R/parameter-labeller.R
env_parm_labeller | R Documentation |
Conveniently converts NOAA world ocean atlas parameter names into full oceanographic variable names including units for parsing in plot labels.
env_parm_labeller(var, prefix = character(1), postfix = character(1))
var |
Environmental parameter. |
prefix |
Prefix. |
postfix |
Postfix. |
Expression
# expression
env_parm_labeller("t_an")
# plot with temperature axis label
library(ggplot2)
ggplot() +
geom_blank() +
ylab(env_parm_labeller("t_an"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.