View source: R/plot_functions.R
geom_eemscatter | R Documentation |
geom_eemscatter draws dashed lines at the locations where scatter is expected in EEMs from water samples.
geom_eemscatter(scatter = rep(TRUE, 4), ...)
scatter |
logical vector of size 4 stating the scatter bands to be marked. The order is Raman 1, Raman 2, Rayleigh 1, Rayleigh 2. |
... |
additional arguments to be passed on to |
a layer to a ggplot2
require(tidyr)
eem_list %>%
eem_extract(eem_names((eem_list))[1], keep = TRUE) %>%
ggeem() +
geom_eemscatter() +
coord_cartesian(xlim = c(250,455), ylim = c(290,578))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.