create.prop: Creates a list length J of category proportion for each...

View source: R/create.prop.func.R

create.propR 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.


mccca documentation built on June 22, 2024, 6:58 p.m.

Related to create.prop in mccca...