Learn R Programming

ThreeWay (version 1.1.3)

splithalfT3: Split-Half Analysis

Description

Performs split-half analysis for Tucker3.

Usage

splithalfT3(X, n, m, p, r1, r2, r3, centopt, normopt, renormmode, wa_rel, wb_rel, wc_rel, addanal, conv, laba, labb, labc)

Arguments

X
Matrix (or data.frame coerced to a matrix) of order (n x mp) containing the matricized array (frontal slices)
n
Number of A-mode entities
m
Number of B-mode entities
p
Number of C-mode entities
r1
Number of extracted components for the A-mode
r2
Number of extracted components for the B-mode
r3
Number of extracted components for the C-mode
centopt
Centering option (see cent3)
normopt
Normalization option (see norm3)
renormmode
Renormalization option (see renormsolT3)
wa_rel
Relative weight for simplicity of A-mode
wb_rel
Relative weight for simplicity of B-mode
wc_rel
Relative weight for simplicity of C-mode
addanal
Number of additional runs
conv
Convergence criterion
laba
Optional vector of length n containing the labels of the A-mode entities
labb
Optional vector of length m containing the labels of the B-mode entities
labc
Optional vector of length p containing the labels of the C-mode entities

Value

Afull
Component matrix for the A-mode (full data)
As1
Component matrix for the A-mode (split n.1)
As2
Component matrix for the A-mode (split n.2)
Bfull
Component matrix for the B-mode (full data)
Bs1
Component matrix for the B-mode (split n.1)
Bs2
Component matrix for the B-mode (split n.2)
Cfull
Component matrix for the C-mode (full data)
Cs1
Component matrix for the C-mode (split n.1)
Cs2
Component matrix for the C-mode (split n.2)
Kfull
Matricized core array (frontal slices) (full data)
Ks1
Matricized core array (frontal slices) (split n.1)
Ks2
Matricized core array (frontal slices) (split n.2)
Kss1
Matricized core array (frontal slices) (using full data solutions for A,B and C for split n.1)
Kss2
Matricized core array (frontal slices) (using full data solutions for A,B and C for split n.2)

References

P.M. Kroonenberg (2008). Applied Multiway Data Analysis. Wiley, New Jersey.

See Also

T3

Examples

Run this code
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: 
# # Split-half analysis on T3 solution
# splitT3 <- splithalfT3(Bus, 7, 5, 37, 2, 2, 2, 0, 0, 0, 3, 3, 0, 5, 1e-6, 
#  laba, labb, labc)
# # Split-half analysis on T3 solution (when labels are not available)
# splitT3 <- splithalfT3(Bus, 7, 5, 37, 2, 2, 2, 0, 0, 0, 3, 3, 0, 5, 1e-6)
# ## End(Not run)

Run the code above in your browser using DataLab