powered by
Computes "equal-tails" probability interval for a normal curve
normal_interval(prob, normal_pars, Color = "orange")
value of coverage probability
vector of mean and standard deviation of the normal curve
color of shading in plot
ggplot2 object containing the graphical display.
# NOT RUN { normal_pars <- c(2, 0.5) prob <- 0.5 normal_interval(prob, normal_pars) # }
Run the code above in your browser using DataLab