# Extensions to 'ggplot2' for Radiation Spectra

## Documentation for package ‘ggspectra’ version 0.3.15

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C E G H M N P R S T W

ggspectra-package | ggspectra: Extensions to 'ggplot2' for Radiation Spectra

## -- A --

Afr_label | Absorptance axis labels
autoplot.calibration_mspct | Plot one or more irradiance-calibration spectra.
autoplot.calibration_spct | Plot one or more irradiance-calibration spectra.
autoplot.cps_mspct | Plot one or more detector-counts-per-second spectra.
autoplot.cps_spct | Plot one or more detector-counts-per-second spectra.
autoplot.filter_mspct | Plot one or more "filter" spectra.
autoplot.filter_spct | Plot one or more "filter" spectra.
autoplot.object_mspct | Plot one or more "object" spectra.
autoplot.object_spct | Plot one or more "object" spectra.
autoplot.raw_mspct | Plot one or more raw-detector-counts spectra.
autoplot.raw_spct | Plot one or more raw-detector-counts spectra.
autoplot.reflector_mspct | Plot one or more reflector spectra.
autoplot.reflector_spct | Plot one or more reflector spectra.
autoplot.response_mspct | Plot one or more response spectra.
autoplot.response_spct | Plot one or more response spectra.
autoplot.source_mspct | Plot one or more light-source spectra.
autoplot.source_spct | Plot one or more light-source spectra.
autoplot.waveband | Create a complete ggplot for a waveband descriptor.
autotitle | Add title, subtitle and caption to a spectral plot
axis_labels | Default text for axis labels
axis_labels_none | Default text for axis labels
axis_labels_uk | Default text for axis labels
axis_labels_uk_comma | Default text for axis labels
A_internal_label | Absorbance axis labels
A_label | Absorbance axis labels
A_total_label | Absorbance axis labels

## -- B --

black_or_white | Chose black vs. white color based on weighted mean of RGB channels

## -- C --

color_chart | Create a color checker chart
counts_label | Raw-counts axis labels
cps_label | Counts-per-second axis labels

## -- E --

exponent2factor | SI unit prefixes
exponent2prefix | SI unit prefixes
exponent2prefix_name | SI unit prefixes

## -- G --

geom_spct | Spectral data plots.
ggplot | Create a new ggplot plot from spectral data.
ggplot.calibration_spct | Create a new ggplot plot from spectral data.
ggplot.cps_spct | Create a new ggplot plot from spectral data.
ggplot.filter_mspct | Create a new ggplot plot from spectral data.
ggplot.filter_spct | Create a new ggplot plot from spectral data.
ggplot.generic_mspct | Create a new ggplot plot from spectral data.
ggplot.generic_spct | Create a new ggplot plot from spectral data.
ggplot.object_mspct | Create a new ggplot plot from spectral data.
ggplot.object_spct | Create a new ggplot plot from spectral data.
ggplot.raw_spct | Create a new ggplot plot from spectral data.
ggplot.reflector_spct | Create a new ggplot plot from spectral data.
ggplot.response_spct | Create a new ggplot plot from spectral data.
ggplot.source_mspct | Create a new ggplot plot from spectral data.
ggplot.source_spct | Create a new ggplot plot from spectral data.
ggspectra | ggspectra: Extensions to 'ggplot2' for Radiation Spectra
ggtitle_spct | Add title, subtitle and caption to a spectral plot

## -- H --

has_SI_prefix | SI unit prefixes

## -- M --

multipliers_label | Calibration multipliers axis labels
multiplot | Multiple plot function

## -- N --

nearest_SI_exponent | SI unit prefixes

## -- P --

plot.generic_mspct | Deprecated plot methods
plot.generic_spct | Deprecated plot methods
plot.waveband | Deprecated plot methods
prefix2exponent | SI unit prefixes
prefix_name2exponent | SI unit prefixes

## -- R --

Rfr_label | Reflectance axis labels
Rfr_specular_label | Reflectance axis labels
Rfr_total_label | Absorptance axis labels

## -- S --

s.e.action_label | spectral response and action axis labels
s.e.irrad_label | Spectral irradiance axis labels
s.e.response_label | spectral response and action axis labels
s.q.action_label | spectral response and action axis labels
s.q.irrad_label | Spectral irradiance axis labels
s.q.response_label | spectral response and action axis labels
scale_x_energy_eV_continuous | Energy per photon x-scale
scale_x_energy_J_continuous | Energy per photon x-scale
scale_x_frequency_continuous | Frequency x-scale
scale_x_wavenumber_continuous | Wavenumber x-scale
scale_x_wl_continuous | Wavelength x-scale
scale_y_Afr_continuous | Absorptance y-scale
scale_y_A_continuous | Absorbance y-scale
scale_y_A_internal_continuous | Absorbance y-scale
scale_y_A_total_continuous | Absorbance y-scale
scale_y_counts_continuous | Raw-counts y-scale
scale_y_counts_tg_continuous | Raw-counts y-scale
scale_y_cps_continuous | Counts-per-second y-scale
scale_y_multipliers_continuous | Calibration multipliers y-scale
scale_y_Rfr_continuous | Reflectance y-scale
scale_y_Rfr_specular_continuous | Reflectance y-scale
scale_y_Rfr_total_continuous | Reflectance y-scale
scale_y_s.e.action_continuous | Spectral response and action y-scales
scale_y_s.e.irrad_continuous | Spectral irradiance y-scale
scale_y_s.e.irrad_log10 | Spectral irradiance y-scale
scale_y_s.e.response_continuous | Spectral response and action y-scales
scale_y_s.q.action_continuous | Spectral response and action y-scales
scale_y_s.q.irrad_continuous | Spectral irradiance y-scale
scale_y_s.q.irrad_log10 | Spectral irradiance y-scale
scale_y_s.q.response_continuous | Spectral response and action y-scales
scale_y_Tfr_continuous | Transmittance y-scale
scale_y_Tfr_internal_continuous | Transmittance y-scale
scale_y_Tfr_total_continuous | Transmittance y-scale
sec_axis_energy_eV | Secondary axes for wavelengths
sec_axis_energy_J | Secondary axes for wavelengths
sec_axis_wl | Secondary axes for wavelengths
sec_axis_w_frequency | Secondary axes for wavelengths
sec_axis_w_number | Secondary axes for wavelengths
set_annotations_default | Set defaults for autoplot annotations
set_w.band_default | Set defaults for autoplot annotations
SI_plain | Formatter for plain labels discounting for SI multipliers
SI_pl_format | Formatter for plain labels discounting for SI multipliers
SI_tagged | Formatter for tagged labels using SI multipliers
SI_tg_format | Formatter for tagged labels using SI multipliers
stat_color | Calculate colours from wavelength.
stat_find_qtys | Find quantity value for target wavelength value.
stat_find_wls | Find wavelength for target quantity value.
stat_label_peaks | Label peaks and valleys.
stat_label_valleys | Label peaks and valleys.
stat_peaks | Find peaks and valleys.
stat_spikes | Find spikes
stat_valleys | Find peaks and valleys.
stat_wb_box | Draw colour boxes for wavebands
stat_wb_column | Integrate ranges under curve.
stat_wb_contribution | Integrate ranges under spectral curve.
stat_wb_e_irrad | Integrate irradiance for wavebands.
stat_wb_e_sirrad | Integrate spectral irradiance for wavebands.
stat_wb_hbar | Integrate ranges under curve.
stat_wb_irrad | Integrate irradiance for wavebands.
stat_wb_label | Label ranges under spectral curve.
stat_wb_mean | Integrate ranges under curve.
stat_wb_q_irrad | Integrate irradiance for wavebands.
stat_wb_q_sirrad | Integrate spectral irradiance for wavebands.
stat_wb_relative | Integrate ranges under spectral curve.
stat_wb_sirrad | Integrate spectral irradiance for wavebands.
stat_wb_total | Integrate ranges under spectral curve.
stat_wl_strip | Calculate colours from wavelength.
stat_wl_summary | Average area under curve for regions.

## -- T --

Tfr_internal_label | Transmittance axis labels
Tfr_label | Transmittance axis labels
Tfr_total_label | Transmittance axis labels

## -- W --

wl_guide | Calculate colours from wavelength.
w_energy_eV_label | Wave- axis labels
w_energy_J_label | Wave- axis labels
w_frequency | Deprecated functions
w_frequency_label | Wave- axis labels
w_length_label | Wave- axis labels
w_number | Deprecated functions
w_number_label | Wave- axis labels