別の中央値計算関数

my_other_median(x, na.rm = TRUE)

Arguments

x

数値ベクトル

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

ベクトル x の中央値

Examples

my_other_median(1:12)
#> [1] 6.5