norm2A: Compensate for normalisation in C-modes

View source: R/parafac_functions.R

norm2AR Documentation

Compensate for normalisation in C-modes

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

norm2A(pfmodel)

Arguments

pfmodel

object of class parafac

Value

object of class parafac

Examples

data(pf_models)

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

staRdom documentation built on July 9, 2023, 5:57 p.m.