staRdom (version 1.0.8)

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 A-modes. Values are calculated using fixed B and C modes in the PARAFAC algorithm.

Usage

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

Arguments

eem_list

object of class eemlist with sample data

pfmodel

object of class parafac

cores

number of cores to use for parallel processing

...

additional arguments passed to eem_parafac

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 DataCamp Workspace