PriorDraw: Draw from the prior distribution

Description Usage Arguments Value

View source: R/mixing_distribution_prior_draw.R

Description

Draw from the prior distribution

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## 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 '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


dirichletprocess documentation built on July 2, 2020, 2 a.m.