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

Description Usage Arguments Value Examples

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

1
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

1
2
3
4
5
6
7
8
9
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 Oct. 8, 2021, 5:07 p.m.