median.distribution {distributional} | R Documentation |
Median of a probability distribution
Description
Returns the median (50th percentile) of a probability distribution. This is
equivalent to quantile(x, p=0.5)
.
Usage
## S3 method for class 'distribution'
median(x, na.rm = FALSE, ...)
Arguments
x |
The distribution(s). |
na.rm |
Unused, included for consistency with the generic function. |
... |
Additional arguments used by methods. |
[Package distributional version 0.4.0 Index]