colMax: Collapse data.frame to vector by getting column max

View source: R/rt_ops.R

colMaxR Documentation

Collapse data.frame to vector by getting column max

Description

Collapse data.frame to vector by getting column max

Usage

colMax(x, na.rm = TRUE)

Arguments

x

Matrix or Data frame input

na.rm

Logical: passed to max, If TRUE, ignore NA values, otherwise if NA is present in any column, NA will be returned.

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.