Description Usage Arguments Examples
A function that let's us draw area under curve, and with option to annotate plot with P(from < X < to).
1 |
from |
Left end-point of interval |
to |
right end-point of interval |
digits |
number of digits to include when printing probability |
annotate |
logical. If FALSE (default), the probability is not shown on plot. |
1 2 3 4 | X <- Normal()
#plot_pdf(X) + geom_prob(to = -0.645)
#plot_pdf(X) + geom_prob(from = -0.645, to = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.