Compute the sample median.
modex(x, na.rm = getOption("transx.na.rm")) modex_int(x, na.rm = getOption("transx.na.rm"))
x |
Univariate vector, numeric or ts object with only one dimension. |
---|---|
na.rm |
A value indicating whether NA values should be stripped before the computation proceeds. |