Description Usage Arguments Value Author(s) Examples
View source: R/beta_quantile.R
Displays a Quantile of a Beta Curve
1 | beta_quantile(prob, shape_par, Color = "orange")
|
prob |
probability value of interest |
shape_par |
vector of shape parameters of the beta curve |
Color |
color of shading in the graph |
ggplot2 object containing the graphical display.
Jim Albert
1 2 3 4 5 6 7 | # find the .50 quantile (the median)
prob <- 0.5
shape_par <- c(2, 5)
beta_quantile(prob, shape_par)
# find the .90 quantile (90th percentile)
prob <- 0.9
beta_quantile(prob, shape_par)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.