Stable lifecycle

# S3 method for 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.

Details

Returns the median (50th percentile) of a probability distribution. This is equivalent to quantile(x, p=0.5).