normal_area {ProbBayes} | R Documentation |
Displays Area Under a Normal Curve
Description
Computes and Displays Area Under a Normal Curve
Usage
normal_area(lo, hi, normal_pars, Color = "orange")
Arguments
lo |
lower bound of interval |
hi |
upper bound of interval |
normal_pars |
vector of mean and standard deviation of the normal curve |
Color |
color of shading in plot |
Value
ggplot2 object containing the graphical display.
Author(s)
Jim Albert
Examples
lo <- 10
hi <- 20
normal_pars <- c(25, 10)
normal_area(lo, hi, normal_pars)
[Package ProbBayes version 1.1 Index]