staRdom (version 1.0.3)

norm2A: 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(cp_out)

Arguments

cp_out

object of class parafac

Value

object of class parafac

Examples

Run this code
# NOT RUN {
data(pfres_comps1)

pfres_comps[[2]][[3]] <- norm2A(pfres_comps[[2]][[3]])
# }

Run the code above in your browser using DataCamp Workspace