Learn R Programming

dibble (version 0.3.0)

extremes: Maxima and Minima

Description

Returns the parallel maxima and minima of the input values.

Usage

pmax(..., na.rm = FALSE)

# S3 method for default pmax(..., na.rm = FALSE)

# S3 method for ddf_col pmax(..., na.rm = FALSE)

# S3 method for tbl_ddf pmax(..., na.rm = FALSE)

pmin(..., na.rm = FALSE)

# S3 method for default pmin(..., na.rm = FALSE)

# S3 method for ddf_col pmin(..., na.rm = FALSE)

# S3 method for tbl_ddf pmin(..., na.rm = FALSE)

Value

A dibble if ... are dibbles. See base::pmax() and base::pmin()

for the return value of the default method.

Arguments

...

Dibbles, numeric or character arguments.

na.rm

a logical indicating whether missing values should be removed.

Details

These functions override base functions to make them generic. The default methods call the base versions.

See Also