normal_interval: Probability Interval for a Normal Curve

Description Usage Arguments Value Author(s) Examples

View source: R/normal_interval.R

Description

Computes "equal-tails" probability interval for a normal curve

Usage

1
  normal_interval(prob, normal_pars, Color = "orange")

Arguments

prob

value of coverage probability

normal_pars

vector of mean and standard deviation of the normal curve

Color

color of shading in plot

Value

Computes and displays the interval that contains the normal curve with the specified probability

Author(s)

Jim Albert

Examples

1
2
3
  parameters <- c(2, 0.5)
  prob_content <- 0.5
  normal_interval(prob_content, parameters)

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