Learn R Programming

TeachBayes (version 0.1.0)

beta_area: Displays Areas Under a Beta Curve

Description

Computes and Displays Areas Under a Beta Curve

Usage

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

Examples

Run this code
  lo <- .2
  hi <- .4
  parameters <- c(2, 5)
  beta_area(lo, hi, parameters)

Run the code above in your browser using DataLab