powered by
Spectra plotting with ggplot2
qplotc( object, mapping = aes_string(x = "c", y = "spc"), ..., func = NULL, func.args = list(), map.pointonly = FALSE )
a ggplot object
ggplot
hyperSpec object
see geom_point
geom_point
handed to geom_point
function to summarize the wavelengths, if NULL, only the first wavelength is used
NULL
arguments to func
func
if TRUE, mapping will be handed to geom_point instead of ggplot.
TRUE
mapping
Claudia Beleites
These functions are still experimental and may change substantially in future.
plotc
ggplotgeom_point
qplotc (flu) qplotc (flu) + geom_smooth (method = "lm")
Run the code above in your browser using DataLab