Skip to contents

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)

Arguments

...

Dibbles, numeric or character arguments.

na.rm

a logical indicating whether missing values should be removed.

Value

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

for the return value of the default method.

Details

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