rgam: Samples from a Gamma variable

Description

Samples from a Gamma-distributed variable in mean parametrization

Usage

1
rgam(n,mu,delta)

Arguments

n

number of samples

mu

mean parameter; either a number or a vector of length n

delta

dispersion parameter; a number

Value

n samples

Author(s)

Nicole Kraemer

See Also

pgam, dgam

Examples

1
2
3
4
n=20
mu<-5 
delta<-1
out<-rgam(n,mu,delta)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.