View source: R/visualize.beta.R
visualize.beta | R Documentation |
Generates a plot of the Beta distribution with user specified parameters.
visualize.beta(stat = 1, alpha = 3, beta = 2, section = "lower")
stat |
a statistic to obtain the probability from. When using the
"bounded" condition, you must supply the parameter as |
alpha |
|
beta |
|
section |
Select how you want the statistic(s) evaluated via
|
Returns a plot of the distribution according to the conditions supplied.
James Balamuta
visualize.it()
, dbeta()
.
# Evaluates lower tail.
visualize.beta(stat = 1, alpha = 2, beta = 3, section = "lower")
# Evaluates bounded region.
visualize.beta(stat = c(.5,1), alpha = 4, beta = 3, section = "bounded")
# Evaluates upper tail.
visualize.beta(stat = 1, alpha = 2, beta = 3, section = "upper")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.