Compare corresponding elements independently within each draw. Unlike
min() and max(), these functions do not summarise across elements.
Value
An rvec if any argument is an rvec, otherwise the result of
base::pmin() or base::pmax(). Names come from the first argument.
Details
With rvec arguments, element lengths must agree or be one. Draw counts must also agree or be one. Ordinary vectors are repeated across draws. This uses rvec's usual size rules rather than base R's fractional recycling. Missing values, infinities, and type promotion follow the base calculation on each draw. Matrices and other classed objects are not supported alongside rvecs. Calls without rvecs are passed unchanged to the base functions.
These wrappers mask the base functions when rvec is attached. Explicit
calls to base::pmin() or base::pmax() do not use the wrappers.