pgnormz | R Documentation |
A function to draw a Standard Normal distribution and shade a region defined by the quantile argument
pgnormz(quantile, tail = "upper")
quantile |
The quantile value ("Z" value) to be evaluated. Note that quantile should be positive if a two-tailed result is requested. |
tail |
Area(s) to be shaded on the graph. If |
Specifying extremely high or low quantiles may not yield
visible shaded areas if the regions are beyond the limits of the X axis
scale of the graph.
In addition, probabilities are rounded to five
decimal places and will display as zero if below .000005. Use the
pnorm
function in this case.
Bruce Dudek bruce.dudek@albany.edu
#shows upper tail by default
pgnormz(1.2)
pgnormz(1.0,tail="upper")
pgnormz(-1.64,tail="lower")
pgnormz(2.0,tail="lower")
pgnormz(1.96,tail="upper")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.