Learn R Programming

kpmt (version 0.1.0)

minMedian: Minimal median

Description

Computes the minimal median of a vector or matrix.

Usage

minMedian(x)

Arguments

x

a vector or matrix of real numbers. if a matrix, then the minimal median will be computed for each column.

Value

the minimal median of x.

Examples

Run this code
# NOT RUN {
minMedian(1:6) # returns 3

# }

Run the code above in your browser using DataLab