plot_beta | R Documentation |
Plots the probability density function (pdf) for a Beta(alpha, beta) model of variable π.
plot_beta(alpha, beta, mean = FALSE, mode = FALSE)
alpha, beta |
positive shape parameters of the Beta model |
mean, mode |
a logical value indicating whether to display the model mean and mode |
A density plot for the Beta model.
plot_beta(alpha = 1, beta = 12, mean = TRUE, mode = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.