Learn R Programming

ProbBayes (version 1.1)

normal_quantile: Displays a Quantile of a Normal Curve

Description

Displays a Quantile of a Normal Curve

Usage

normal_quantile(prob, normal_pars, Color = "orange")

Arguments

prob

probability value of interest

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.

Examples

Run this code
# NOT RUN {
  normal_pars <- c(100, 10)
  prob <- 0.7
  normal_quantile(prob, normal_pars)
# }

Run the code above in your browser using DataLab