unfold: Unfold EEM list into a matrix

Description Usage Arguments Value Examples

Description

Unfold EEM list into a matrix with columns as variables (wavelength conditions) and rows as samples.

Usage

1
unfold(EEM, replaceNA = TRUE)

Arguments

EEM

a list containing EEM data as created by readEEM function.

replaceNA

logical value whether to replace NA with 0

Value

Unfolded EEM matrix where columns are wavelength condition and rows are samples

Examples

1
2
3
data(applejuice)
applejuice_uf <- unfold(applejuice) # unfold list into matrix
dim(applejuice_uf) # dimension of unfolded matrix

chengvt/EEM documentation built on May 13, 2019, 3:51 p.m.