Learn R Programming

staRdom (version 1.1.30)

geom_eemscatter: Mark EEM scatter bands

Description

geom_eemscatter draws dashed lines at the locations where scatter is expected in EEMs from water samples.

Usage

geom_eemscatter(scatter = rep(TRUE, 4), ...)

Value

a layer to a ggplot2

Arguments

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 geom_function

Examples

Run this code
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))

Run the code above in your browser using DataLab