ggspectra: Extensions to 'ggplot2' for Radiation Spectra

Additional annotations, and statsfor plotting "light" spectra with 'ggplot2', together with specializations of ggplot() and plot() methods for spectral data stored in objects of the classes defined in package 'photobiology' and a plot() method for objects of class "waveband", also defined in package 'photobiology'.

AuthorPedro J. Aphalo [aut, cre], Titta K. Kotilainen [ctb]
Date of publication2017-03-20 17:34:32 UTC
MaintainerPedro J. Aphalo <pedro.aphalo@helsinki.fi>
LicenseGPL (>= 2)
Version0.2.1
http://www.r4photobiology.info, https://bitbucket.org/aphalo/ggspectra

View on CRAN

Man pages

Afr_plot: Plot a filter spectrum.

A_internal_label: Absorbance axis labels

A_plot: Plot a filter spectrum.

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

color_chart: Create a color checker chart

counts_label: Raw-counts axis labels

cps_label: Counts-per-second axis labels

cps_plot: Plot an instrument counts spectrum.

decode_annotations: Merge user supplied annotations with default ones

decoration: Add decorations to spectrum plot (private)

e_plot: Plot a source spectrum.

e_rsp_plot: Plot method for response spectra.

exponent2prefix: SI unit prefixes

geom_spct: Spectral data plots.

gg2spectra-ggproto: 'Stat*' Objects

ggplot: Create a new ggplot plot from spectral data.

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

multiplot: Multiple plot function

O_plot: Plot an object spectrum

plot.cps_spct: Plot method for spectra expressed as detector counts per...

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.

q_plot: Plot a source spectrum.

q_rsp_plot: Plot a response spectrum.

raw_plot: Plot method for spectra expressed as raw detector counts.

Rfr_specular_label: Reflectance axis labels

R_plot: Plot a reflector spectrum

scale_x_wl_continuous: Wavelength x-scale

scale_y_A_internal_continuous: Absorbance y-scale

scale_y_counts_continuous: Raw-counts y-scale

scale_y_cps_continuous: Counts-per-second y-scale

scale_y_Rfr_specular_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_Tfr_internal_continuous: Transmittance y-scale

sec_axis_w_number: Secondary axes for wavelengths

s.e.irrad_label: spectral irradiance axis labels

s.e.response_label: spectral response axis labels

SI_pl_format: Formatter for plain labels discounting for 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_peaks: 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_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_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

T_plot: Plot a filter spectrum.

w_length_label: Wave- axis labels

w_number: Wavelength conversions

Functions

Afr_plot Man page
A_internal_label Man page
A_plot Man page
A_total_label Man page
black_or_white Man page
color_chart Man page
counts_label Man page
cps_label Man page
cps_plot Man page
decode_annotations Man page
decoration Man page
e_plot Man page
e_rsp_plot Man page
exponent2factor Man page
exponent2prefix Man page
exponent2prefix_name Man page
geom_spct Man page
GeomSpct Man page
ggplot Man page
ggplot.cps_spct Man page
ggplot.filter_spct Man page
ggplot.raw_spct Man page
ggplot.reflector_spct Man page
ggplot.response_spct Man page
ggplot.source_spct Man page
ggspectra Man page
ggspectra-package Man page
has_SI_prefix Man page
multiplot Man page
nearest_SI_exponent Man page
O_plot Man page
plot.cps_spct Man page
plot.filter_spct Man page
plot.object_spct Man page
plot.raw_spct Man page
plot.reflector_spct Man page
plot.response_spct Man page
plot.source_spct Man page
plot.waveband Man page
prefix2exponent Man page
prefix_name2exponent Man page
q_plot Man page
q_rsp_plot Man page
raw_plot Man page
Rfr_specular_label Man page
Rfr_total_label Man page
R_plot Man page
scale_x_wl_continuous Man page
scale_y_A_internal_continuous Man page
scale_y_A_total_continuous Man page
scale_y_counts_continuous Man page
scale_y_counts_tg_continuous Man page
scale_y_cps_continuous Man page
scale_y_Rfr_specular_continuous Man page
scale_y_Rfr_total_continuous Man page
scale_y_s.e.irrad_continuous Man page
scale_y_s.e.response_continuous Man page
scale_y_s.q.irrad_continuous Man page
scale_y_s.q.response_continuous Man page
scale_y_Tfr_internal_continuous Man page
scale_y_Tfr_total_continuous Man page
sec_axis_w_frequency Man page
sec_axis_w_number Man page
s.e.irrad_label Man page
s.e.response_label Man page
SI_plain Man page
SI_pl_format Man page
SI_tagged Man page
SI_tg_format Man page
s.q.irrad_label Man page
s.q.response_label Man page
stat_color Man page
StatColor Man page
StatColorGuide Man page
stat_label_peaks Man page
StatLabelPeaks Man page
stat_label_valleys Man page
StatLabelValleys Man page
stat_peaks Man page
StatPeaks Man page
Stats Man page
Stats Man page
stat_valleys Man page
StatValleys Man page
stat_wb_box Man page
StatWbBox Man page
stat_wb_column Man page
StatWbColumn Man page
StatWbContrib Man page
stat_wb_contribution Man page
stat_wb_e_irrad Man page
stat_wb_e_sirrad Man page
stat_wb_hbar Man page
StatWbHbar Man page
stat_wb_irrad Man page
StatWbIrrad Man page
stat_wb_label Man page
StatWbLabel Man page
stat_wb_mean Man page
StatWbMean Man page
stat_wb_q_irrad Man page
stat_wb_q_sirrad Man page
stat_wb_relative Man page
StatWbRelative Man page
stat_wb_sirrad Man page
StatWbSIrrad Man page
stat_wb_total Man page
StatWbTotal Man page
stat_wl_strip Man page
stat_wl_summary Man page
StatWlSummary Man page
Tfr_internal_label Man page
Tfr_total_label Man page
T_plot Man page
w_frequency Man page
w_frequency_label Man page
w_length_label Man page
wl_guide Man page
w_number Man page
w_number_label Man page

Files

ggspectra
ggspectra/inst
ggspectra/inst/staticdocs
ggspectra/inst/staticdocs/README.md
ggspectra/inst/staticdocs/index.r
ggspectra/inst/CITATION
ggspectra/inst/doc
ggspectra/inst/doc/user-guide.Rmd
ggspectra/inst/doc/plot-methods.Rmd
ggspectra/inst/doc/plot-methods.R
ggspectra/inst/doc/plot-methods.html
ggspectra/inst/doc/user-guide.html
ggspectra/inst/doc/user-guide.R
ggspectra/NAMESPACE
ggspectra/NEWS
ggspectra/R
ggspectra/R/si-prefixes.R ggspectra/R/ggplot-methods.R ggspectra/R/plot-cps-spct.R ggspectra/R/axis-utils-raw-spct.R ggspectra/R/stat-wb-relative.R ggspectra/R/decoration.R ggspectra/R/axis-utils_wlength.R ggspectra/R/stat-wb-column.R ggspectra/R/stat-wl-summary.R ggspectra/R/axis-utils-cps-spct.R ggspectra/R/plot-filter-spct.R ggspectra/R/geom-spct.R ggspectra/R/stat-wl-strip.R ggspectra/R/stat-wb-mean.R ggspectra/R/stat-color.R ggspectra/R/ggspectra.R ggspectra/R/stat-wb-hbar.R ggspectra/R/stat-wb-label.R ggspectra/R/plot-raw-spct.R ggspectra/R/stat-label-peaks.R ggspectra/R/plot-waveband.R ggspectra/R/multiplot.R ggspectra/R/stat-wb-box.R ggspectra/R/stat-peaks.R ggspectra/R/stat-wb-sirrad.R ggspectra/R/plot-source-spct.R ggspectra/R/stat-wb-contribution.R ggspectra/R/axis-utils-filter-spct.R ggspectra/R/plot-response-spct.R ggspectra/R/axis-utils-response-spct.R ggspectra/R/stat-wb-irrad.R ggspectra/R/color-chart.R ggspectra/R/stat-wb-total.R ggspectra/R/axis-utils-source-spct.R
ggspectra/vignettes
ggspectra/vignettes/user-guide.Rmd
ggspectra/vignettes/plot-methods.Rmd
ggspectra/README.md
ggspectra/MD5
ggspectra/build
ggspectra/build/vignette.rds
ggspectra/DESCRIPTION
ggspectra/man
ggspectra/man/gg2spectra-ggproto.Rd ggspectra/man/stat_wb_sirrad.Rd ggspectra/man/s.e.response_label.Rd ggspectra/man/stat_wb_relative.Rd ggspectra/man/w_number.Rd ggspectra/man/stat_wb_mean.Rd ggspectra/man/q_rsp_plot.Rd ggspectra/man/plot.raw_spct.Rd ggspectra/man/A_plot.Rd ggspectra/man/plot.reflector_spct.Rd ggspectra/man/stat_wb_contribution.Rd ggspectra/man/cps_label.Rd ggspectra/man/Tfr_internal_label.Rd ggspectra/man/stat_wl_strip.Rd ggspectra/man/plot.object_spct.Rd ggspectra/man/scale_y_s.e.irrad_continuous.Rd ggspectra/man/Afr_plot.Rd ggspectra/man/s.e.irrad_label.Rd ggspectra/man/stat_label_peaks.Rd ggspectra/man/stat_wb_irrad.Rd ggspectra/man/scale_y_A_internal_continuous.Rd ggspectra/man/sec_axis_w_number.Rd ggspectra/man/plot.waveband.Rd ggspectra/man/stat_wb_total.Rd ggspectra/man/plot.response_spct.Rd ggspectra/man/ggspectra-package.Rd ggspectra/man/stat_peaks.Rd ggspectra/man/black_or_white.Rd ggspectra/man/R_plot.Rd ggspectra/man/plot.cps_spct.Rd ggspectra/man/scale_y_cps_continuous.Rd ggspectra/man/stat_color.Rd ggspectra/man/e_rsp_plot.Rd ggspectra/man/plot.source_spct.Rd ggspectra/man/stat_wb_label.Rd ggspectra/man/counts_label.Rd ggspectra/man/stat_wb_hbar.Rd ggspectra/man/stat_wb_column.Rd ggspectra/man/T_plot.Rd ggspectra/man/O_plot.Rd ggspectra/man/scale_y_s.e.response_continuous.Rd ggspectra/man/multiplot.Rd ggspectra/man/scale_x_wl_continuous.Rd ggspectra/man/plot.filter_spct.Rd ggspectra/man/A_internal_label.Rd ggspectra/man/w_length_label.Rd ggspectra/man/Rfr_specular_label.Rd ggspectra/man/decode_annotations.Rd ggspectra/man/SI_pl_format.Rd ggspectra/man/stat_wb_box.Rd ggspectra/man/scale_y_Tfr_internal_continuous.Rd ggspectra/man/geom_spct.Rd ggspectra/man/SI_tg_format.Rd ggspectra/man/scale_y_counts_continuous.Rd ggspectra/man/exponent2prefix.Rd ggspectra/man/decoration.Rd ggspectra/man/scale_y_Rfr_specular_continuous.Rd ggspectra/man/raw_plot.Rd ggspectra/man/e_plot.Rd ggspectra/man/stat_wl_summary.Rd ggspectra/man/color_chart.Rd ggspectra/man/cps_plot.Rd ggspectra/man/q_plot.Rd ggspectra/man/ggplot.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.