Learn R Programming

TeachBayes (version 0.1.0)

normal_area: Displays Areas Under a Normal Curve

Description

Computes and Displays Areas Under a Normal Curve

Usage

normal_area(lo, hi, normal_pars)

Arguments

lo
lower bound of interval
hi
upper bound of interval
normal_pars
vector of mean and standard deviation of the normal curve

Value

Probability that normal random variable falls between two values

Examples

Run this code
  lo <- 10
  hi <- 20
  parameters <- c(25, 10)
  normal_area(lo, hi, parameters)

Run the code above in your browser using DataLab