rowMins: Row-wise minima and maxima

Description Usage Arguments Details Value

View source: R/rowMins.R

Description

Row-wise minima and maxima

Usage

1
2

Arguments

x

a numeric (or logical) matrix or data frame

Details

The function coerces x to be a data frame and then uses pmin (pmax) on it. This is the same as apply(x, 1, min) but generally faster if the number of rows is large.

Value

numeric vector of length nrow(x) giving the row-wise minima (or maxima) of x.


rje42/rje documentation built on Aug. 15, 2017, 7:43 a.m.

Related to rowMins in rje42/rje...