eem_extend2largest: EEM sample data is extended to include all wavelengths in all...

eem_extend2largestR Documentation

EEM sample data is extended to include all wavelengths in all samples

Description

Compared to the whole sample set, wavelengths missing in some samples are added and set NA or interpolated. This can be especially helpful, if you want to combine data measured with different wavelength intervals in a given range.

Usage

eem_extend2largest(eem_list, interpolation = FALSE, ...)

Arguments

eem_list

eemlist

interpolation

logical, whether added NAs should be interpolated

...

arguments passed to eem_interp

Value

eemlist

Examples


library(dplyr)
data(eem_list)
eem_list <- eem_exclude(eem_list[1:5] %>%
`class<-`("eemlist"), exclude = list(em = c(318,322,326,550,438), ex = c(270,275))) %>%
eem_bind(eem_list[6:15] %>% `class<-`("eemlist"))
ggeem(eem_list)

eem_extend2largest(eem_list) %>%
  ggeem()


staRdom documentation built on March 21, 2022, 5:07 p.m.