powered by
Generate axis labels in SI units, using SI scale factors. Output can be selected as character, expression (R default devices) or LaTeX (for tikz device).
counts_label( unit.exponent = 3, format = getOption("photobiology.math", default = "R.expression"), label.text = axis_labels()[["counts"]], scaled = FALSE, normalized = FALSE, axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE) )
a character string or an R expression.
integer
character string, "R", "R.expresion", "R.character", or "LaTeX".
character Textual portion of the labels.
logical If TRUE relative units are assumed.
TRUE
logical (FALSE) or numeric Normalization wavelength in manometers (nm).
FALSE
logical If TRUE symbols of the quantities are added to the name. Supported only by format = "R.expression".
name
format = "R.expression"
counts_label() counts_label("R.expression") counts_label("LaTeX")
Run the code above in your browser using DataLab