max_val: Get the maximum value in each numeric column of a data frame

View source: R/max_val.R

max_valR Documentation

Get the maximum value in each numeric column of a data frame

Description

max_val() is a function that returns a data frame holding the maximum value in each of the numeric columns in the specified data frame.

Usage

max_val(data)

Arguments

data

The data frame in question.

Value

The maximum value in each of the numeric columns in the specified data frame (provided there are numeric columns in the data frame).

Examples

max_val(mtcars)
max_val(ChickWeight)


rcollectadhd documentation built on Nov. 1, 2024, 5:07 p.m.