eempf_residuals {staRdom} | R 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)
[Package staRdom version 1.1.28 Index]