Description Usage Arguments Value Author(s) References See Also Examples
Detects the underlying structure of a three-way array according to the Tucker2 (T2) model.
1 2 |
T2(dati, laba, labb, labc)
|
dati |
Array of order |
laba |
Optional vector of length |
labb |
Optional vector of length |
labc |
Optional vector of length |
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 ( |
Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
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.
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.