Learn R Programming

mombf (version 3.5.4)

postSamples: Extract posterior samples from an object

Description

Obtain posterior model probabilities after running Bayesian model selection

Usage

postSamples(object)

Value

For objects of class mixturebf, a list with one element for each considered number of mixture components.

Each element in the list contains posterior samples on the mixture weights (eta) and other component-specific parameters such as means (mu) and Cholesky decomposition of the inverse covariance matrix (cholSigmainv)

Arguments

object

Object containing posterior samples, e.g. of class mixture bf as returned by bfnormmix

Author

David Rossell

Examples

Run this code
#See help(bfnormmix)

Run the code above in your browser using DataLab