dgamma0: The density of the gamma distribution

Description Usage Arguments Examples

View source: R/mc_rv_density.R

Description

The density of the gamma distribution

Usage

1
dgamma0(x, shape, rate, scale = 1/rate, log = FALSE)

Arguments

x

vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.

shape

positive number; the shape parameter.

rate

positive number; the rate parameter.

scale

positive number; the scale parameter.

log

logical; if TRUE, returns the log value.

Examples

1
2
3
n <- 10
x <- rgamma0(n, shape = 1, scale = 5)
dgamma0(x, shape = 1, scale = 5)

ADtools documentation built on Nov. 9, 2020, 5:09 p.m.