zFreq {CNPBayes} | R Documentation

## Calculates a frequency table of latent variable assigments by observation.

### Description

Calculates a frequency table of latent variable assigments by observation.

### Usage

    zFreq(object)

    ## S4 method for signature 'McmcChains'
    zFreq(object)

    ## S4 method for signature 'MixtureModel'
    zFreq(object)

### Arguments

`object` | see `showMethods(zfreq)`

### Value

An integer vector of length the number of components

### Examples

         zFreq(SingleBatchModelExample)

[Package CNPBayes version 1.12.0 Index]