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