Learn R Programming

hbmem (version 0.2)

rtgamma: Function rtgamma

Description

Returns random draws from truncated gamma distributuion.

Usage

rtgamma(N, shape, scale, a, b)

Arguments

N
Number of samples.
shape
Shape of gamma distribution.
scale
Scale of gamma distributuion.
a
Lower truncation point.
b
Upper truncation point.