T2runsApproxFit {ThreeWay} | R Documentation |
Approximated Tucker2 solutions
Description
Computes all the approximated Tucker2 solutions using PCASup results with r1
(from 1 to maxa
, if A
-mode reduced), r2
(from 1 to maxb
, if B
-mode reduced) and r3
(from 1 to maxc
, if C
-mode reduced) components.
Usage
T2runsApproxFit(X, n, m, p, maxa, maxb, maxc, model)
Arguments
X |
Matrix (or data.frame coerced to a matrix) of order ( |
n |
Number of |
m |
Number of |
p |
Number of |
maxa |
Maximum dimensionality for the |
maxb |
Maximum dimensionality for the |
maxc |
Maximum dimensionality for the |
model |
Tucker2 model choice (1 for T2-AB, 2 for T2-AC, 3 for T2-BC) |
Value
out |
Matrix with columns: number of components for the |
Note
Cumulative sum of eigenvalues and fits from PCAsup applied to the reduced modes are automatically printed.
Author(s)
Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
References
H.A.L. Kiers (1991). Hierarchical relations among three-way methods. Psychometrika 56:449–470.
See Also
DimSelector
, LineCon
, pcasup2
, T2
Examples
data(Bus)
# Fit values of T2-AB with different numbers of components
# (from 1 to 3 for the B-mode, from 1 to 5 for the C-mode)
FitT2 <- T2runsApproxFit(Bus, 7, 5, 37, 7, 3, 5, 3)