# Extensions to 'ggplot2' for Radiation Spectra

## Documentation for package ‘ggspectra’ version 0.2.1

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

## Help Pages

ggspectra-package | ggspectra: Extensions to 'ggplot2' for Radiation Spectra
A_internal_label | Absorbance axis labels
A_total_label | Absorbance axis labels
black_or_white | Chose black vs. white color based on weighted mean of RGB channels
color_chart | Create a color checker chart
counts_label | Raw-counts axis labels
cps_label | Counts-per-second axis labels
exponent2factor | SI unit prefixes
exponent2prefix | SI unit prefixes
exponent2prefix_name | SI unit prefixes
geom_spct | Spectral data plots.
ggplot | Create a new ggplot plot from spectral data.
ggplot.cps_spct | Create a new ggplot plot from spectral data.
ggplot.filter_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_spct | Create a new ggplot plot from spectral data.
ggspectra | ggspectra: Extensions to 'ggplot2' for Radiation Spectra
has_SI_prefix | SI unit prefixes
multiplot | Multiple plot function
nearest_SI_exponent | SI unit prefixes
plot.cps_spct | Plot method for spectra expressed as detector counts per second.
plot.filter_spct | Plot method for filter spectra.
plot.object_spct | Plot method for object spectra.
plot.raw_spct | Plot method for spectra expressed as raw detector counts.
plot.reflector_spct | Plot method for reflector spectra.
plot.response_spct | Plot method for response spectra.
plot.source_spct | Plot method for light-source spectra.
plot.waveband | Plot method for waveband objects.
prefix2exponent | SI unit prefixes
prefix_name2exponent | SI unit prefixes
Rfr_specular_label | Reflectance axis labels
Rfr_total_label | Reflectance axis labels
s.e.irrad_label | spectral irradiance axis labels
s.e.response_label | spectral response axis labels
s.q.irrad_label | spectral irradiance axis labels
s.q.response_label | spectral irradiance axis labels
scale_x_wl_continuous | Wavelength x-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_Rfr_specular_continuous | Reflectance y-scale
scale_y_Rfr_total_continuous | Reflectance y-scale
scale_y_s.e.irrad_continuous | Spectral irradiance y-scale
scale_y_s.e.response_continuous | Spectral response y-scale
scale_y_s.q.irrad_continuous | Spectral irradiance y-scale
scale_y_s.q.response_continuous | Spectral irradiance y-scale
scale_y_Tfr_internal_continuous | Transmittance y-scale
scale_y_Tfr_total_continuous | Transmittance y-scale
sec_axis_w_frequency | Secondary axes for wavelengths
sec_axis_w_number | Secondary axes for wavelengths
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_label_peaks | Label peaks and valleys.
stat_label_valleys | Label peaks and valleys.
stat_peaks | Find peaks and valleys.
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.
Tfr_internal_label | Transmittance axis labels
Tfr_total_label | Transmittance axis labels
wl_guide | Calculate colours from wavelength.
w_frequency | Wavelength conversions
w_frequency_label | Wave- axis labels
w_length_label | Wave- axis labels
w_number | Wavelength conversions
w_number_label | Wave- axis labels