Learn R Programming

dirichletprocess (version 0.4.2)

BetaMixtureCreate: Create a Beta mixing distribution.

Description

See DirichletProcessBeta for the default prior and hyper prior distributions.

Usage

BetaMixtureCreate(
  priorParameters = c(2, 8),
  mhStepSize = c(1, 1),
  maxT = 1,
  hyperPriorParameters = c(1, 0.125)
)

Value

A mixing distribution object.

Arguments

priorParameters

The prior parameters for the base measure.

mhStepSize

The Metropolis Hastings step size. A numeric vector of length 2.

maxT

The upper bound of the Beta distribution. Defaults to 1 for the standard Beta distribution.

hyperPriorParameters

The parameters for the hyper prior.