Question: what is pmax function in r?
Answer: The R pmax function returns the parallel maxima of two or more input vectors. The R pmin function returns the parallel minima of two or more input vectors. The basic R syntax for the pmax and pmin functions is illustrated above.