beta_area: Displays Areas Under a Beta Curve

Description Usage Arguments Value Author(s) Examples

View source: R/beta_area.R

Description

Computes and Displays Areas Under a Beta Curve

Usage

1
  beta_area(lo, hi, shape_par)

Arguments

lo

lower bound of interval

hi

upper bound of interval

shape_par

vector of shape parameters of the beta curve

Value

Probability that beta random variable falls between two values

Author(s)

Jim Albert

Examples

1
2
3
4
  lo <- .2
  hi <- .4
  parameters <- c(2, 5)
  beta_area(lo, hi, parameters)

TeachBayes documentation built on May 1, 2019, 9:17 p.m.