You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ggspectra extends ggplot2 with stats, geoms and annotations suitable for light spectra. It also defines **ggplot()** and **plot()** methods specialized for the classes defined in package **photobiology** for storing different types of spectral data.
```{r, message=FALSE,warning=FALSE}
# Example from https://cran.rstudio.com/web/packages/ggspectra/vignettes/user-guide.html
library(ggplot2)
library(photobiology)
library(photobiologyWavebands)
library(ggspectra)
# We bind two spectra, to later on demonstrate grouping.