Format numbers as main variables on the psychrometric chart.
label_drybulb( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_humratio( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_relhum( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_wetbulb( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_vappres( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_specvol( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) label_enthalpy( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) drybulb_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) humratio_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) relhum_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) wetbulb_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) vappres_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) specvol_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... ) enthalpy_format( x, accuracy = NULL, scale = 1, units, big.mark = ",", decimal.mark = ".", trim = TRUE, parse = FALSE, ... )
x | A numeric vector |
---|---|
accuracy | A number to round to. Use (e.g.) Applied to rescaled data. |
scale | A scaling factor: |
units | A single string indcating the unit system to use. Should be either
|
big.mark | Character used between every 3 digits to separate thousands. |
decimal.mark | The character to be used to indicate the numeric decimal point. |
trim | Logical, if |
parse | If |
... | Other arguments passed on to |
All label_()
functions return a "labelling" function, i.e. a function that
takes a vector x
and returns a character vector of length(x)
giving a
label for each input value.
Labelling functions are designed to be used with the labels
argument of
ggplot2 scales. The examples demonstrate their use with x scales, but
they work similarly for all scales, including those that generate legends
rather than axes.