Learn R Programming

CNPBayes (version 1.2.2)

map: Calculate the maximum a posteriori estimate of latent variable assignment.

Description

Calculate the maximum a posteriori estimate of latent variable assignment.

Usage

map(object)

Arguments

object
an object of class MixtureModel.

Value

map estimate of latent variable assignment for each observation

Examples

Run this code
     map(MarginalModelExample)

Run the code above in your browser using DataLab