View source: R/calculateVarExp.R
| calculateVarExp | R Documentation |
Calculate the variation explained by a PARAFAC model.
calculateVarExp(Fac, X)
Fac |
Fac object output from the |
X |
Input data of the PARAFAC model. |
The variation explained by the model, expressed as a fraction (between 0-1).
X = Fujita2023$data
model = parafac(X, nfac=1, nstart=1, verbose=FALSE)
calculateVarExp(model$Fac, X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.