normal_area: Displays Area Under a Normal Curve

Description Usage Arguments Value Author(s) Examples

View source: R/normal_area.R

Description

Computes and Displays Area Under a Normal Curve

Usage

1
  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

1
2
3
4
  lo <- 10
  hi <- 20
  normal_pars <- c(25, 10)
  normal_area(lo, hi, normal_pars)

ProbBayes documentation built on March 13, 2020, 1:31 a.m.