A_missing: Calculate the amount of each component for samples not...

Description Usage Arguments Details Value Examples

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. B and C modes can be provided via a previously calculated model or as matrices manually.

Usage

1
2
3
A_missing(eem_list, pfmodel = NULL,
  cores = parallel::detectCores(logical = FALSE), components = NULL,
  const = NULL, control = NULL, ...)

Arguments

eem_list

object of class eemlist with sample data

pfmodel

object of class parafac

cores

number of cores to use for parallel processing

components

optionally supply components to use manually, either as a variable of class parafac_components or as a list of variables of class parafac_components, if you do so,

const

optional constraints for model, just used, when components are supplied

control

optional constraint control parameters for model, just used, when components are supplied

...

additional arguments passed to eem_parafac

Details

This function can be used to calculate A modes (sample loadings) for samples that were previously excluded from the modelling process (e.g. outliers). Another way to use it would be a recombination of components from different models and calculating the according sample loadings. Expecially the later application is experimental and results have to be seen critically! Nevertheless, I decided to supply this function to stimulate some experiments on that and would be interested in your findings and feedback.

Value

object of class parafac

Examples

1
2
3
4

jakehosen/stardom_aqualog documentation built on May 14, 2019, 3:06 a.m.