ggspectra 0.1.4 (1st release: new package)
plot() methods should function as in package
photobiologygg except that as
annotation() is not used at all and has been replaced by newly defined
ggplot2 statistics all calculations are done per
PANEL. Only some aesthetics may need to be tweaked when grouping is used.
ggplot() methods for objects of the spectral classes in package
photobiology are defined. They only differ from the method for data frames in that they set default mappings for x and y aesthetics according to the type of spectrum.
Several ggplot statistics are defined. They all expect as x aesthetic wavelength values expressed in nanometres:
One ggplot geometry is defined:
One function for combining several ggplot objects:
multiplot() and one function grouping a stat, a geom and a scale:
The User Guide includes code examples with explanations but some of the statistics added today lack examples.
Please, report any problems you encounter, and suggest possible changes or additions to the functionality!
NOTE: Sources, and Windows binaries for R 3.2.x, are now available in the R repository and package
photobiologygg has been removed from the repository as it is incompatible with the current version of