UCM | R Documentation |
Fit an ultrametric correlation matrix on a nonnegative correlation one.
UCM(R, m, rndstart, maxiter = 100, eps = 1e-06)
R |
( |
m |
Integer specifying the number of variable groups. |
rndstart |
Integer value specifying the number of random starts. |
maxiter |
Integer value specifying the maximum number of iterations of the EM algorithm (default: maxiter = 100). |
eps |
Numeric value specifying the tolerance for the convergence criterion used in the coordinate descent algorithm (default: eps = 1e-6). |
A list with the following elements:
call
Matched call.
V
Optimal binary and row-stochastic (p \times m
) variable-group membership matrix.
Rt
Optimal (p \times p
) ultrametric correlation matrix.
Rw
Optimal (m \times m
) within-concept consistency (diagonal) matrix.
Rb
Optimal (m \times m
) between-concept correlation matrix.
of
Objective function corresponding to the optimal solution.
loop
Random start corresponding to the optimal solution.
iter
Number of iterations needed to obtain the optimal solution.
Cavicchia, C., Vichi, M., Zaccaria, G. (2020) The ultrametric correlation matrix for modelling hierarchical latent concepts. Advances in Data Analysis and Classification, 14(4), 837-853.
data(penguins)
R <- cor(penguins[, 2:5])
UCM(R, 4, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.