This is an implementation of the T3Clusf algorithm of Rocci & Vichi (2005).
T3Clusf(X, Q, R = Q, G = 2, margin = 3L, alpha = 1, eps = 1e-08,
maxit = 100L, verbose = 1, nstart = 1L, parallel = TRUE,
mc.cores = detectCores() - 1L, minsize = 3L)
Three-way data array, with no missing values.
Integer giving the number of dimensions required for mode B (variables).
This is the first mode of the array, excluding the mode clustered over (see margin
).
Integer giving the number of dimensions required for mode C (occasions).
This is the second mode of the array, excluding the mode clustered over (see margin
).
Integer giving the number of clusters required.
Integer giving the margin of the array to cluster over. The remaining two
modes, in the original order, corresponds to Q
and R
.
Numeric value giving the fuzziness parameter.
Small numeric value giving the empirical convergence threshold.
Integer giving the maximum number of iterations allowed.
Integer giving the number of iterations after which the loss values are printed.
Integer giving the number of random starts required.
Logical indicating whether to parallelize over random starts if
nstart > 1
.
Argument passed to makeCluster
.
Integer giving the minimum size of cluster to uphold when reinitializing empty clusters.
Rocci, R., & Vichi, M. (2005). Three-mode component analysis with crisp or fuzzy partition of units. Psychometrika, 70(4), 715-736.
# NOT RUN {
data("dcars")
set.seed(13)
res <- T3Clusf(X = carray(dcars), Q = 3, R = 2, G = 3, alpha = 1)
# }
Run the code above in your browser using DataLab