4.5 Using R pipeline
Note that it is also possible to use the magrittr pipe line with most functions from eemR
.
library(magrittr)
file <- system.file("extdata/cary/scans_day_1/", package = "eemR")
file %>%
eem_read(recursive = TRUE) %>%
eem_raman_normalisation() %>%
eem_remove_scattering(type = "raman", order = 1, width = 10) %>%
eem_remove_scattering(type = "rayleigh", order = 1, width = 10) %>%
plot(2)