modex {transx}R Documentation

Mode value

Description

Compute the sample median.

Usage

modex(x, na.rm = getOption("transx.na.rm"))

modex_int(x, na.rm = getOption("transx.na.rm"))

Arguments

x

⁠[univariate vector]⁠

Univariate vector, numeric or ts object with only one dimension.

na.rm

⁠[logical(1): getOption("transx.na.rm")]⁠

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


[Package transx version 0.0.1 Index]