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

Probability that normal random variable falls between two values

Author(s)

Jim Albert

Examples

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

bayesball/TeachBayes documentation built on Jan. 5, 2020, 1:47 a.m.