eempf_residuals: Calculate residuals of EEM data according to a certain model

eempf_residualsR Documentation

Calculate residuals of EEM data according to a certain model

Description

Calculate residuals of EEM data according to a certain model

Usage

eempf_residuals(
  pfmodel,
  eem_list,
  select = NULL,
  cores = parallel::detectCores(logical = FALSE)/2
)

Arguments

pfmodel

PARAFAC model of class parafac

eem_list

eemlist containing EEM data

select

character vector containing the names of the desired samples

cores

number of cores to use for parallel processing

Value

data frame with EEM residuals

Examples


data(eem_list)
data(pf_models)

residuals <- eempf_residuals(pf4[[1]], eem_list, cores = 2)


staRdom documentation built on July 9, 2023, 5:57 p.m.