unfold {EEM}R Documentation

Unfold EEM list into a matrix

Description

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

Usage

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

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


[Package EEM version 1.1.1 Index]