Spectra plotting with ggplot2
Spectra plotting with ggplot2
qplotspc( x, wl.range = TRUE, ..., mapping = aes_string(x = ".wavelength", y = "spc", group = ".rownames"), spc.nmax = hy.getOption("ggplot.spc.nmax"), map.lineonly = FALSE, debuglevel = hy.getOption("debuglevel") )
These functions are still experimental and may change substantially in future.
a ggplot
object
Claudia Beleites
qplotspc (chondro) qplotspc (paracetamol, c (2800 ~ max, min ~ 1800)) + scale_x_reverse (breaks = seq (0, 3200, 400)) qplotspc (aggregate (chondro, chondro$clusters, mean), mapping = aes (x = .wavelength, y = spc, colour = clusters)) + facet_grid (clusters ~ .) qplotspc (aggregate (chondro, chondro$clusters, mean_pm_sd), mapping = aes (x = .wavelength, y = spc, colour = clusters, group = .rownames)) + facet_grid (clusters ~ .)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.