probPretty | R Documentation |
Constructs information for making a nicely formatted probability axis. A support function for creating probability axes.
probPretty(x, hard = FALSE, labels = "Auto", style = "probability", exceedence = TRUE, priority = "label", distribution = "normal", ...)
x |
axis coordinates in range 0-1 or 0-100 allowed and assumed if max(x) > 1. Note that only the range (min and max) are needed. Missing values allowed, but ignored. | |||||
hard |
logical force min(x) and max(x) as axis limits, otherwise use "nice" limits. | |||||
labels |
an estimate of the number of labels desired, or specific
label points. If vector, then can be expressed as character strings, which are
converted to numeric and automatically scaled. Default is "Auto", which is 9
if minimum | |||||
style |
can be either "probability" or "percent" indicates how the labels are formatted. | |||||
exceedence |
| |||||
priority |
| |||||
distribution |
the name of the probability function, defaults to normal. | |||||
... |
options for the distribution function. |
Information about the axis labels.
probPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.