powered by
The density of the gamma distribution
dgamma0(x, shape, rate, scale = 1/rate, log = FALSE)
vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.
positive number; the shape parameter.
positive number; the rate parameter.
positive number; the scale parameter.
logical; if TRUE, returns the log value.
# NOT RUN { n <- 10 x <- rgamma0(n, shape = 1, scale = 5) dgamma0(x, shape = 1, scale = 5) # }
Run the code above in your browser using DataLab