norm2A: Compensate for normalisation in C-modes

Description Usage Arguments Value Examples

View source: R/parafac_functions.R

Description

Factors used for normalisation are saved separately in the PARAFAC models. With this function, the normalisation factors are combined with the A-modes of the model and removed as a separate vector. This means former normalisation is accounted for in the amount of each component in each sample. If no normalisation was done, the original model is returned without warning.

Usage

1
norm2A(pfmodel)

Arguments

pfmodel

object of class parafac

Value

object of class parafac

Examples

1
2
3
data(pf_models)

pf4[[1]] <- norm2A(pf4[[1]])

staRdom documentation built on Oct. 8, 2021, 5:07 p.m.