normregioncurve | R Documentation |
Plots a normal distribution curve given mean, stdev, probability region start, probability region end. From MATH 4753 Lab 6.
normregioncurve(mean, sd, from, to, col = "Magenta", lower.tail = TRUE)
mean |
mean of the normal distribution |
sd |
standard deviation of the normal distribution |
from |
start of probability region. set to NULL if -inf |
to |
end of probability region. set to NULL if inf |
col |
color of the shaded region. default magenta. |
lower.tail |
if true, get P(X<a). if false, get P(X>a). default to TRUE |
probability of region
normregioncurve(mean = 0, sd = 1, from = 2, to = NULL, col = "Cyan", lower.tail = FALSE) normregioncurve(mean = 4, sd = 2, from = 1, to = 5, col = "Cyan")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.