Learn R Programming

distr6 (version 1.5.2)

median.Distribution: Median of a Distribution

Description

Median of a distribution assuming quantile is provided.

Usage

# S3 method for Distribution
median(x, na.rm = NULL, ...)

Arguments

x

Distribution.

na.rm

ignored, added for consistency with S3 generic.

...

ignored, added for consistency with S3 generic.

Value

Quantile function evaluated at 0.5 as a numeric.