Learn R Programming

dirichletprocess (version 0.4.2)

PosteriorParameters: Calculate the posterior parameters for a conjugate prior.

Description

Calculate the posterior parameters for a conjugate prior.

Usage

PosteriorParameters(mdObj, x)

# S3 method for mvnormal PosteriorParameters(mdObj, x)

# S3 method for normalFixedVariance PosteriorParameters(mdObj, x)

# S3 method for normal PosteriorParameters(mdObj, x)

Value

Parameters of the posterior distribution

Arguments

mdObj

Mixing distribution object

x

Data