powered by
gamma_dist
Method for obtaining the density (pdf) of a gamma_dist object.
# S3 method for gamma_dist density(x, ...)
A function that computes the pdf at point(s) t
t
The gamma_dist object
Additional arguments (not used)
x <- gamma_dist(shape = 2, rate = 1) f <- density(x) f(1) f(2)
Run the code above in your browser using DataLab