colMax: Max of each column

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/colMax.R

Description

Get the Max of each column of a matrix or data-frame

Usage

1
colMax(Matrix)

Arguments

Matrix

A matrix object or a data-frame

Details

The values should be all numeric

Value

Returns a vector of length = ncol(Matrix) with the column maximums

Author(s)

Subhrangshu Nandi, PhD Statistics, UW Madison; snandi@wisc.edu or nands31@gmail.com

See Also

rowMax

Examples

1
2

snandi/RFunctionsSN documentation built on May 30, 2019, 5:04 a.m.