Parallel Maxima and Minima
Returns the parallel maxima and minima of the input values.
pmax(..., na.rm = FALSE) pmin(..., na.rm = FALSE)
... |
numeric or arbitrary precision numbers (class
|
na.rm |
a logical indicating whether missing values should be removed. |
See pmax, the documentation of the base
functions, i.e., default methods.
vector-like, of length the longest of the input vectors; typically of
class mpfr, for the methods here.
the default method, really just
base::pmin or base::pmax,
respectively.
the method for mpfr
arguments, mixed with numbers; designed to follow the same semantic as
the default method.
range (both min and max).
(pm <- pmin(1.35, mpfr(0:10, 77))) stopifnot(pm == pmin(1.35, 0:10))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.