Generate pixel response rate axis labels in cps units. Output can be selected as character, expression (R default devices) or LaTeX (for tikz device).
cps_label( unit.exponent = 0, format = getOption("photobiology.math", default = "R.expression"), label.text = axis_labels()[["cps"]], scaled = FALSE, normalized = FALSE )
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
cps_label() cps_label(3) cps_label(format = "R.expression") cps_label(format = "R.character") cps_label(format = "LaTeX") cps_label(3, format = "LaTeX")
Run the code above in your browser using DataLab