staRdom (version 1.0.3)

A_missing: Calculate the amount of each component for samples not involved in model building

Description

Samples from an eemlist that were not used in the modelling process are added as entries in the C-modes. Values are calculated using optim (via eempf_fit_sample).

Usage

A_missing(eem_list, cp_out, cores = parallel::detectCores(logical = FALSE)/2)

Arguments

eem_list

object of class eemlist with sample data

cp_out

object of class parafac

cores

number of cores to use for parallel processing

Value

object of class parafac

Examples

Run this code
# NOT RUN {
data(eem_list)
data(pfres_comps2)

A_missing(eem_list,pfres_comps2[[3]])
# }

Run the code above in your browser using DataLab