ggspectra: Extensions to 'ggplot2' for Radiation Spectra

Additional annotations, stats and scales for 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 publication2016-12-22 23:15:58
MaintainerPedro J. Aphalo <pedro.aphalo@helsinki.fi>
LicenseGPL (>= 2)
Version0.2.0
http://www.r4photobiology.info, https://bitbucket.org/aphalo/ggspectra

View on CRAN

Man pages

Afr_plot: Plot a filter spectrum.

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

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.

geom_spct: Spectral data plots.

gg2spectra-ggproto: 'Stat*' Objects

ggplot: Create a new ggplot plot from spectral data.

ggspectra-package: 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.

R_plot: Plot a reflector spectrum

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.

T_plot: Plot a filter spectrum.

Files in this package

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/ggplot-methods.R ggspectra/R/plot-cps-spct.R ggspectra/R/ggcolorchart.R ggspectra/R/stat-wb-relative.R ggspectra/R/decoration.R ggspectra/R/stat-wb-column.R ggspectra/R/stat-wl-summary.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/plot-response-spct.R ggspectra/R/stat-wb-irrad.R ggspectra/R/stat-wb-total.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/stat_wb_relative.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/stat_wl_strip.Rd ggspectra/man/plot.object_spct.Rd ggspectra/man/Afr_plot.Rd ggspectra/man/stat_label_peaks.Rd ggspectra/man/stat_wb_irrad.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/stat_color.Rd ggspectra/man/e_rsp_plot.Rd ggspectra/man/plot.source_spct.Rd ggspectra/man/stat_wb_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/multiplot.Rd ggspectra/man/plot.filter_spct.Rd ggspectra/man/decode_annotations.Rd ggspectra/man/stat_wb_box.Rd ggspectra/man/geom_spct.Rd ggspectra/man/decoration.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.