counts_label {ggspectra} | R Documentation |
Raw-counts axis labels
Description
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).
Usage
counts_label(
unit.exponent = 3,
format = getOption("photobiology.math", default = "R.expression"),
label.text = axis_labels()[["counts"]],
scaled = FALSE,
normalized = FALSE
)
Arguments
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 ( |
Value
a character string or an R expression.
Examples
counts_label()
counts_label("R.expression")
counts_label("LaTeX")
[Package ggspectra version 0.3.12 Index]