pmin
pmin is a function in the R programming language that returns the element-wise minimum across its numeric vector arguments. It computes the pairwise minima for corresponding elements of the input vectors and automatically recycles shorter vectors to a common length.
In use, pmin takes any number of numeric vectors as its arguments and returns a numeric vector
Common usage includes data preparation and vectorized calculations where multiple measurements must be compared element-wise. For
pmin is closely related to pmax, which computes the element-wise maxima. Both functions are part of base