Median of a distribution assuming quantile is provided.
# S3 method for Distribution
median(x, na.rm = NULL, ...)
Distribution.
ignored, added for consistency with S3 generic.
ignored, added for consistency with S3 generic.
Quantile function evaluated at 0.5 as a numeric.
$median()
The median is computed as the quantile function evaluated at 0.5. If the quantile is not found in the distribution (analytically or numerically), returns error.