normal_interval {ProbBayes}R Documentation

Probability Interval for a Normal Curve

Description

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

Usage

  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

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

  normal_pars <- c(2, 0.5)
  prob <- 0.5
  normal_interval(prob, normal_pars)

[Package ProbBayes version 1.1 Index]