Learn R Programming

dirichletprocess (version 0.4.2)

PriorDraw.beta: Draw from the prior distribution

Description

Draw from the prior distribution

Usage

# S3 method for beta
PriorDraw(mdObj, n = 1)

# S3 method for beta2 PriorDraw(mdObj, n = 1)

# S3 method for exponential PriorDraw(mdObj, n)

PriorDraw(mdObj, n)

# S3 method for mvnormal PriorDraw(mdObj, n = 1)

# S3 method for mvnormal2 PriorDraw(mdObj, n = 1)

# S3 method for normalFixedVariance PriorDraw(mdObj, n = 1)

# S3 method for normal PriorDraw(mdObj, n = 1)

# S3 method for weibull PriorDraw(mdObj, n = 1)

Value

A sample from the prior distribution

Arguments

mdObj

Mixing Distribution

n

Number of draws.