Learn R Programming

mombf (version 2.2.3)

postSamples: Extract posterior samples from an object

Description

Obtain posterior model probabilities after running Bayesian model selection

Usage

postSamples(object)

Arguments

object

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

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)

Examples

Run this code
# NOT RUN {
#See help(bfnormmix)
# }

Run the code above in your browser using DataLab