plot_gamma | R Documentation |
Plots the probability density function (pdf) for a Gamma(shape, rate) model of variable λ.
plot_gamma(shape, rate, mean = FALSE, mode = FALSE)
shape |
non-negative shape parameter of the Gamma model |
rate |
non-negative rate parameter of the Gamma model |
mean, mode |
a logical value indicating whether to display the model mean and mode |
A density plot for the Gamma model.
plot_gamma(shape = 2, rate = 11, mean = TRUE, mode = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.