T2 {ThreeWay} | R Documentation |
Interactive Tucker2 analysis
Description
Detects the underlying structure of a three-way array according to the Tucker2 (T2) model.
Usage
T2(dati, laba, labb, labc)
Arguments
dati |
Array of order |
laba |
Optional vector of length |
labb |
Optional vector of length |
labc |
Optional vector of length |
Value
A list including the following components:
A |
Component matrix for the |
B |
Component matrix for the |
C |
Component matrix for the |
core |
Matricized core array (frontal slices) |
fit |
Fit value expressed as a percentage |
fitValues |
Fit values expressed as a percentage upon convergence for all the runs of the CP algorithm (see |
funcValues |
Function values upon convergence for all the runs of the CP algorithm (see |
cputime |
Computation times for all the runs of the CP algorithm (see |
iter |
Numbers of iterations upon convergence for all the runs of the CP algorithm (see |
fitA |
Fit contributions for the |
fitB |
Fit contributions for the |
fitC |
Fit contributions for the |
fitAB |
Fit contributions for the |
fitAC |
Fit contributions for the |
fitBC |
Fit contributions for the |
laba |
Vector of length |
labb |
Vector of length |
labc |
Vector of length |
Xprep |
Matrix of order ( |
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
P. Giordani, H.A.L. Kiers, M.A. Del Ferraro (2014). Three-way component analysis using the R package ThreeWay. Journal of Statistical Software 57(7):1–23. http://www.jstatsoft.org/v57/i07/.
P.M. Kroonenberg (2008). Applied Multiway Data Analysis. Wiley, New Jersey.
L.R Tucker (1966). Some mathematical notes on three-mode factor analysis. Psychometrika 31:279–311.
See Also
Examples
data(Bus)
# labels for Bus data
laba <- rownames(Bus)
labb <- substr(colnames(Bus)[1:5], 1, 1)
labc <- substr(colnames(Bus)[seq(1,ncol(Bus),5)], 3, 8)
## Not run:
# interactive T2 analysis
BusT2 <- T2(Bus, laba, labb, labc)
# interactive T2 analysis (when labels are not available)
BusT2 <- T2(Bus)
## End(Not run)