Learn R Programming

rtkpp (version 0.8.5)

ClusterCategorical-class: Definition of the [ClusterCategorical] class

Description

This class defines a categorical mixture Model. Inherits from the [IClusterModelBase] class. A categorical mixture model is a mixture model of the form

Arguments

Details

$$f({x}|\boldsymbol{\theta}) \ =\sum_{k=1}^K p_k \prod_{j=1}^d \mathcal{M}(x_j;p_{jk},1) \ \quad {x} \in {1,\ldots,L}^d.$$

Examples

Run this code
getSlots("ClusterCategorical")
  data(birds)
  new("ClusterCategorical", data=birds)

Run the code above in your browser using DataLab