rDPdisc: DP Random variable generator for discrete case

Description Usage Arguments Value

View source: R/DPbasics.R

Description

DP Random variable generator for discrete case

Usage

1
rDPdisc(n, M = 1, G0 = NULL, supp = NULL)

Arguments

n

a scalar / number of random variables to be generated

M

a numeric / precision parameter

G0

a numeric vector / centering dist. on support y

supp

a numeric vector / support of y

Value

a numeric vector / random variables of length n


morner75/BNP documentation built on May 29, 2020, 7:27 p.m.