matMinMax: Computes row- or columnwise Minimum or Maximum.

Description Usage Arguments Value

View source: R/cppHandlers.R

Description

Computes row- or columnwise Minimum or Maximum.

Usage

1
matMinMax(x, margin = 1, min = T)

Arguments

x

Numeric Matrix or data.frame.

margin

Scalar giving the subscripts which the function will be applied over, such as in apply. 1 indicates rows (default), 2 indicates columns.

min

Logical, whether the Minimum should be computed (default is TRUE), otherwise Maximum is computed (FALSE).

Value

Vector of Min/Max of each row/column.


spruenke/nboot documentation built on April 2, 2021, 3:10 p.m.