splithalfCP {ThreeWay} | R Documentation |
Split-Half Analysis
Description
Performs split-half analysis for Candecomp/Parafac.
Usage
splithalfCP(X, n, m, p, r, centopt, normopt, scaleopt, addanal, conv,
maxit, ort1, ort2, ort3, laba, labb, labc)
Arguments
X |
Matrix (or data.frame coerced to a matrix) of order ( |
n |
Number of |
m |
Number of |
p |
Number of |
r |
Number of extracted components |
centopt |
Centering option (see |
normopt |
Normalization option (see |
scaleopt |
Scaling option (see |
addanal |
Number of additional runs |
conv |
Convergence criterion |
maxit |
Maximal number of iterations |
ort1 |
Type of constraints on |
ort2 |
Type of constraints on |
ort3 |
Type of constraints on |
laba |
Optional vector of length |
labb |
Optional vector of length |
labc |
Optional vector of length |
Value
Afull |
Component matrix for the |
As1 |
Component matrix for the |
As2 |
Component matrix for the |
Bfull |
Component matrix for the |
Bs1 |
Component matrix for the |
Bs2 |
Component matrix for the |
Cfull |
Component matrix for the |
Cs1 |
Component matrix for the |
Cs2 |
Component matrix for the |
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.M. Kroonenberg (2008). Applied Multiway Data Analysis. Wiley, New Jersey.
See Also
Examples
data(TV)
TVdata=TV[[1]]
labSCALE=TV[[2]]
labPROGRAM=TV[[3]]
labSTUDENT=TV[[4]]
# permutation of the modes so that the A-mode refers to students
TVdata <- permnew(TVdata, 16, 15, 30)
TVdata <- permnew(TVdata, 15, 30, 16)
## Not run:
# Split-half analysis on CP solution
splitCP <- splithalfCP(TVdata, 30, 16, 15, 2, 0, 0, 0, 5, 1e-6, 10000, 1, 1, 1,
labSTUDENT, labSCALE, labPROGRAM)
# Split-half analysis on CP solution (when labels are not available)
splitCP <- splithalfCP(TVdata, 30, 16, 15, 2, 0, 0, 0, 5, 1e-6, 10000, 1, 1, 1)
## End(Not run)