sortComponents | R Documentation |
Sort PARAFAC components based on variance explained per component.
sortComponents(Fac, X)
Fac |
Fac object output of a parafac model |
X |
Input data |
Fac object of sorted components
X = array(rnorm(108*100*10), c(108,100,10))
model = parafac(X, 2)
sortedFac = sortComponents(model$Fac, X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.