Plots the probability density function (pdf) for a Gamma(shape, rate) model of variable \(\lambda\).
plot_gamma(shape, rate, mean = FALSE, mode = FALSE)A density plot for the Gamma model.
plot_gamma(shape = 2, rate = 11, mean = TRUE, mode = TRUE)
#> Warning: All aesthetics have length 1, but the data has 2 rows.
#> ℹ Please consider using `annotate()` or provide this layer with data containing
#> a single row.
#> Warning: All aesthetics have length 1, but the data has 2 rows.
#> ℹ Please consider using `annotate()` or provide this layer with data containing
#> a single row.