View source: R/correction_functions.R
eem_rem_scat | R Documentation |
Wrapper function to remove several scatterings in one step using eem_remove_scattering
.
eem_rem_scat(
data,
remove_scatter,
remove_scatter_width = 10,
interpolation = FALSE,
cores = parallel::detectCores(logical = FALSE),
verbose = FALSE
)
data |
object of class eemlist |
remove_scatter |
logical vector. The meanings of the vector are "raman1", "raman2", "rayleigh1" and "rayleigh2" scattering. Set |
remove_scatter_width |
numeric vector containing width of scattering to remove. If there is only one element in this vector, each this is the width of each removed scattering. If there are 4 values, differnt widths are used ordered by "raman1", "raman2", "rayleigh1" and "rayleigh2". |
interpolation |
logical, optionally states whether interpolation is done right away |
cores |
optional, CPU cores to use for interpolation |
verbose |
logical, provide additional information |
eemlist
data(eem_list)
remove_scatter <- c(TRUE, TRUE, TRUE, TRUE)
remove_scatter_width = c(15,10,16,12)
eems <- eem_rem_scat(eem_list,remove_scatter,remove_scatter_width)
ggeem(eems)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.