A C++ implementation of the ACCA method
that works directly with the correlation
matrix derived from the corr_matrix
function.
In this sense, this implementation differs from the original,
it works with mixed data and several correlation methods.
Usage
acca(m, ...)
# S3 method for cmatrix
acca(m, k, maxrep = 2L, maxiter = 100L, ...)
# S3 method for matrix
acca(m, k, maxrep = 2L, maxiter = 100L, ...)
Arguments
- m
\[
matrix(1)
]
correlation matrix fromcorr_matrix
or a distance matrix.- ...
Additional arguments (TODO).
- k
\[
integer(1)
]
number of clusters considered.- maxrep
\[
integer(1)
]
maximum number of interactions without change in the clusters.- maxiter
\[
integer(1)
]
maximum number of interactions.
Value
\[acca_list(k)
]
A list with the
final result of the clustering method.
That is, the name of the variables belonging to each cluster k.