A faster pmin()
.
x | A numeric vector. |
---|---|
a | A single numeric value. |
The parallel minimum of the input values. The 0
versions are shortcuts for a = 0
.
This function will always be faster than pmin(x, a)
when a
is a single value, but can be slower than pmin.int(x, a)
when x
is short. Use this function when comparing a numeric vector with a single value.