A faster pmax().
pmax()
A numeric vector.
A single numeric value.
The parallel maximum of the input values. pmax0(x) is shorthand for pmaxC(x, 0), i.e. convert negative values in x to 0.
pmax0(x)
pmaxC(x, 0)
x