create.prop {mccca} | R Documentation |
Creates a list length J of category proportion for each cluster.
Description
Creates a list length J of category proportion for each cluster.
Usage
create.prop(
J = J,
q.vec = q.vec,
Ktrue = Ktrue,
strongprop = 0.8,
which.noise = NULL
)
Arguments
J |
The number of active variable.!!! |
q.vec |
A vector of length J giving the number of categories for each active variable. |
Ktrue |
The number of clusters in J active variables. |
strongprop |
A numeric value giving the strongest proportion of categories (common for all J active variables). |
which.noise |
A vector of length (<= J) giving the index of noise variables in J active variables. NULL indicating all variable is non-noise. |
Value
Returns a list length J, each of which is a (Ktrue x qj) matrix giving the proportion for each qj category in each Ktrue cluster.
[Package mccca version 1.1.0.1 Index]