PriorDraw.beta {dirichletprocess}R Documentation

Draw from the prior distribution

Description

Draw from the prior distribution

Usage

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

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

## S3 method for class 'exponential'
PriorDraw(mdObj, n)

PriorDraw(mdObj, n)

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

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

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

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

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

Arguments

mdObj

Mixing Distribution

n

Number of draws.

Value

A sample from the prior distribution


[Package dirichletprocess version 0.4.2 Index]