PriorDraw: Draw from the prior distribution

View source: R/mixing_distribution_prior_draw.R

PriorDraw.betaR 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


dirichletprocess documentation built on Aug. 25, 2023, 5:19 p.m.