normalPlot | R Documentation |
Plots a normal distribution with the area within the given bounds shaded. The probability (i.e. area) under the normal curve for the given bounds is also given.
normalPlot(mean = 0, sd = 1, bounds = c(-1, 1), tails = FALSE)
mean |
mean of the distribution. |
sd |
standard deviation of the distribution. |
bounds |
the bounds to shade. |
tails |
should the tails be shaded. |
http://www.statmethods.net/advgraphs/probability.html
normalPlot()
normalPlot(bounds=c(-2,2))
normalPlot(bounds=c(-3,3))
normalPlot(tails=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.