z {CNPBayes} | R Documentation

## Retrieve latent variable assignments.

### Description

Retrieves the simulated latent variable assignments of each observation at each MCMC simulation.

### Usage

    z(object)

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

### Arguments

`object` | see `showMethods(z)`

### Value

A vector the length of the data

### Examples

         head(z(SingleBatchModelExample))

[Package CNPBayes version 1.12.0 Index]