gammaregioncurve: Plot gamma distribution and probability region

View source: R/mycontcurve.R

gammaregioncurveR Documentation

Plot gamma distribution and probability region

Description

Given shape, scale, and probability region start and end, plot gamma distribution and probability region. From MATH 4753 Lab 6.

Usage

gammaregioncurve(shape, scale, from, to, xlim, col = "Magenta")

Arguments

shape

shape parameter of gamma distribution

scale

scale parameter of gamma distribution

from

start of probability region

to

end of probability region

xlim

vector for the x-axis limits

col

color of the shaded region. default magenta.

Examples

gammaregioncurve(shape=3, scale=2, from=2, to=5, xlim=c(-.05, 20))
gammaregioncurve(shape=6, scale=3, from=1, to=4, xlim=c(-.05, 20), col="Red")


bbydino/ISSA-ROCK-AND-ROLL documentation built on April 27, 2022, 10:03 p.m.