rowMedian: Calculate the median of a (set of) row(s)

rowMedianR Documentation

Calculate the median of a (set of) row(s)

Description

Calculate the median of a (set of) row(s)

Usage

rowMedian(x, na.rm = TRUE)

Arguments

x

numerical matrix

na.rm

logical. Should NA values be removed?

Value

numerical vector

Author(s)

Simon Frey

See Also

colMin

rowMin

rowMax

colMax

Examples

    data("runoff")
    rowMedian(runoff)

freysimon/TigR documentation built on April 20, 2024, 9:28 p.m.