hilo | R Documentation |
Used to extract a specified prediction interval at a particular confidence level from a distribution.
The numeric lower and upper bounds can be extracted from the interval using
<hilo>$lower
and <hilo>$upper
as shown in the examples below.
hilo(x, ...)
x |
Object to create hilo from. |
... |
Additional arguments used by methods. |
# 95% interval from a standard normal distribution
interval <- hilo(dist_normal(0, 1), 95)
interval
# Extract the individual quantities with `$lower`, `$upper`, and `$level`
interval$lower
interval$upper
interval$level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.