Description Usage Arguments Examples
Given two parameters which characterize a beta distribution,
compute the remaining parameters in the following set
shape1
(a
), shape2
(2
), mean
, mode
, sd
, and concentration
(k
).
1 2 3 4 5 6 7 8 9 10 11 12 13 |
shape1, a |
first shape parameter |
shape2, b |
second shape paramter |
mean |
mean of beta distribution |
sd |
standard deviation of beta distribution |
concentration, k |
concentration of beta distribution |
mode |
mode of beta distribution |
plot |
logical indicating whether a plot of the distribution should be displayed. |
... |
additional arguments passed to |
1 2 3 4 5 6 | beta_params(10, 5)
beta_params(mean = 0.8, concentration = 10)
beta_params(mean = 0.8, k = 10)
beta_params(mode = 0.8, concentration = 10)
beta_params(mode = 0.8, k = 10)
beta_params(mode = 0.8, k = 10, plot = TRUE, color = "red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.