gammaregioncurve | R Documentation |
Given shape, scale, and probability region start and end, plot gamma distribution and probability region. From MATH 4753 Lab 6.
gammaregioncurve(shape, scale, from, to, xlim, col = "Magenta")
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. |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.