R: Reflectance axis labels

Rfr_specular_label {ggspectra} | R Documentation

## Reflectance axis labels

### Description

Generate spectral reflectance labels in SI units, using SI scale factors. Output can be selected as character, expression (R default devices) or LaTeX (for tikz device).

### Usage

    Rfr_specular_label(unit.exponent = 0,
      format = getOption("photobiology.math", default = "R.expression"))

    Rfr_total_label(unit.exponent = 0, format = getOption("photobiology.math",
      default = "R.expression"))

### Arguments

`unit.exponent` | integer
`format` | character string, "R", "R.expresion", "R.character", or "LaTeX".

### Value

a character string or an R expression.

### Examples

    Rfr_specular_label()
    Rfr_specular_label(3)
    Rfr_specular_label(format = "R.expression")
    Rfr_specular_label(format = "LaTeX")
    Rfr_specular_label(3, format = "LaTeX")

    Rfr_total_label()
    Rfr_total_label(-2)
    Rfr_total_label(-3)
    Rfr_total_label(format = "R.expression")
    Rfr_total_label(format = "LaTeX")
    Rfr_total_label(-2, format = "LaTeX")
    Rfr_total_label(-3, format = "LaTeX")

[Package ggspectra version 0.2.3 Index]