Description Usage Arguments Value Author(s) See Also Examples
This function computes the boundaries of an interval which is symmetric around the median and includes a given percentage of the data. If that's impossible due to ties the interval is chosen to minimize the squared difference between the desired percentage and the actual percentage of the observations included.
1 |
x |
A data vector. |
p |
The percentage of observations inside the interval. |
data.points |
Whether to return the most extreme data points within the interval or the interval boundaries. |
A vector with the lower and upper boundaries of the interval.
Alexander Pilhoefer
quantile
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.