median.dst | R Documentation |
Finds the median of a distribution.
## S3 method for class 'dst'
median(x, ...)
x |
Distribution to calculate median from. |
... |
Not used. |
Median is calculated as the 0.5-quantile when not found in the distribution. So, when the median is non-unique, the smallest of the possibilities is taken.
Median of a distribution; single numeric.
d <- dst_gamma(3, 3)
median(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.