Description Usage Arguments Examples
Given two parameters which characterize a gamma distribution,
compute the remaining parameters in the following set
shape
, rate
, scale
, mean
, mode
, sd
.
1 2 3 4 5 6 7 8 9 10 |
shape |
shape parameter |
rate |
rate paramter |
scale |
scale parameter |
mean |
mean of gamma distribution |
sd |
standard deviation of gamma distribution |
mode |
mode of gamma distribution |
plot |
logical indicating whether a plot of the distribution should be displayed. |
... |
additional arguments passed to |
1 2 3 4 5 | gamma_params(10, 5)
gamma_params(10, scale = 5)
gamma_params(mean = 10, sd = 3)
gamma_params(mode = 10, sd = 3, plot = TRUE)
gamma_params(mean = 1, sd = 10, plot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.