View source: R/axis-utils-cps-spct.R
| cps_label | R Documentation | 
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,
  axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
| unit.exponent | integer | 
| format | character string, "R", "R.expresion", "R.character", or "LaTeX". | 
| label.text | character Textual portion of the labels. | 
| scaled | logical If  | 
| normalized | logical ( | 
| axis.symbols | logical If  | 
a character string or an R expression.
cps_label()
cps_label(3)
cps_label(format = "R.expression")
cps_label(format = "R.character")
cps_label(format = "LaTeX")
cps_label(3, format = "LaTeX")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.