meadian | R Documentation |
This function simply computes median of ordinal variable, with one modification: if the median is between two values, the larger or smaller value is returned, depending if the mean is larger or smaller.
meadian(v)
v |
A vector of numeric values |
The median as an average of the mean and default median of v
.
Philip T. Reiss and Prince P. Osei
data(cars) meadian(cars$dist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.