PriorParametersUpdate.beta {dirichletprocess}R Documentation

Update the prior parameters of a mixing distribution

Description

Update the prior parameters of a mixing distribution

Usage

## S3 method for class 'beta'
PriorParametersUpdate(mdObj, clusterParameters, n = 1)

PriorParametersUpdate(mdObj, clusterParameters, n = 1)

## S3 method for class 'weibull'
PriorParametersUpdate(mdObj, clusterParameters, n = 1)

Arguments

mdObj

Mixing Distribution Object

clusterParameters

Current cluster parameters

n

Number of samples

Value

mdobj New Mixing Distribution object with updated cluster parameters


[Package dirichletprocess version 0.4.2 Index]