View source: R/axis-utils-source-spct.R
s.e.irrad_label | R Documentation |
Generate axis labels for spectral irradiance, fluence or exposure 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 = NULL,
markup.format = getOption("photobiology.math", default = "R.expression"),
time.unit = "second",
label.text = NULL,
pc.out = FALSE,
scaled = FALSE,
normalised = FALSE,
normalized = normalised,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
s.q.irrad_label(
unit.exponent = NULL,
markup.format = getOption("photobiology.math", default = "R.expression"),
time.unit = "second",
label.text = NULL,
pc.out = FALSE,
scaled = FALSE,
normalised = FALSE,
normalized = normalised,
axis.symbols = getOption("ggspectra.axis.symbols", default = TRUE)
)
unit.exponent |
integer. The default is guessed from |
markup.format |
character string, "R", "R.expresion", "r.character", or "LaTeX". |
time.unit |
character or duration The length of time used as base of expression. |
label.text |
character Textual portion of the labels. |
pc.out |
logical Flag to enable display of normalised data as percentages. |
scaled |
logical If |
normalized , normalised |
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(markup.format = "R.expression"))
str(s.e.irrad_label(markup.format = "LaTeX"))
str(s.e.irrad_label(markup.format = "R.character"))
str(s.q.irrad_label())
str(s.q.irrad_label(axis.symbols = FALSE))
str(s.q.irrad_label(markup.format = "R.expression"))
str(s.q.irrad_label(markup.format = "LaTeX"))
str(s.q.irrad_label(markup.format = "R.character"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.