eem_exclude: Exclude complete wavelengths or samples form data set

Description Usage Arguments Details Value Examples

View source: R/correction_functions.R

Description

Outliers in all modes should be avoided. With this functions excitation or emission wavelengths as well as samples can be removed completely from your sample set.

Usage

1
eem_exclude(eem_list, exclude = list, verbose = FALSE)

Arguments

eem_list

object of class eemlist

exclude

list of three vectors, see details

verbose

states whether additional information is given in the command line

Details

The argument exclude is a named list of three vectors. The names must be "ex", "em" and "sample". Each element contains a vector of wavelengths or sample names that are to be excluded from the data set.

Value

object of class eemlist

Examples

1
2
3
4
5
6
7
8
data(eem_list)

exclude <- list("ex" = c(280,285,290,295),
"em" = c(),
"sample" = c("667sf", "494sf")
)

eem_list_ex <- eem_exclude(eem_list, exclude)

staRdom documentation built on Oct. 8, 2021, 5:07 p.m.