View source: R/axis-utils-response-spct.R
s.e.response_label | R Documentation |
Generate axis labels for response or action spectra in SI units, using SI scale factors. Output can be selected as character, expression (R default devices) or LaTeX (for tikz device).
s.e.response_label(
unit.exponent = 0,
format = getOption("photobiology.math", default = "R.expression"),
label.text = axis_labels()[["s.e.response"]],
scaled = FALSE,
normalized = FALSE,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
s.q.response_label(
unit.exponent = 0,
format = getOption("photobiology.math", default = "R.expression"),
label.text = axis_labels()[["s.q.response"]],
scaled = FALSE,
normalized = FALSE,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
s.e.action_label(
unit.exponent = 0,
format = getOption("photobiology.math", default = "R.expression"),
label.text = axis_labels()[["s.e.action"]],
scaled = FALSE,
normalized = FALSE,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
s.q.action_label(
unit.exponent = 0,
format = getOption("photobiology.math", default = "R.expression"),
label.text = axis_labels()[["s.q.action"]],
scaled = FALSE,
normalized = FALSE,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
unit.exponent |
integer |
format |
character string, "R", "R.expression", "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.
s.e.response_label()
s.e.response_label(format = "R.expression")
s.e.response_label(format = "R.character")
s.e.response_label(format = "LaTeX")
s.e.response_label(unit.exponent = 3, format = "R.character")
s.q.response_label(format = "R.character")
s.e.action_label(format = "R.character")
s.q.action_label(format = "R.character")
s.e.response_label(scaled = TRUE)
s.e.response_label(scaled = TRUE, format = "R.character")
s.e.response_label(scaled = TRUE, format = "LaTeX")
s.e.response_label(normalized = 300)
s.e.response_label(normalized = 300, format = "R.character")
s.e.response_label(normalized = 300, format = "LaTeX")
s.q.response_label(scaled = TRUE)
s.q.response_label(scaled = TRUE, format = "R.character")
s.q.response_label(scaled = TRUE, format = "LaTeX")
s.q.response_label(normalized = 300)
s.q.response_label(normalized = 300, format = "R.character")
s.q.response_label(normalized = 300, format = "LaTeX")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.