Return the median of a character vector
median_character.RdReturn the median of a character vector
Usage
median_character(x, na.rm = TRUE, tie = c("lower", "upper"), ...)Arguments
- x
an object for which a method has been defined, or a numeric vector containing the values whose median is to be computed.
- na.rm
a logical value indicating whether
NAvalues should be stripped before the computation proceeds.- tie
Are ties broken using the upper or lower value?
- ...
Passed to `sort()`