Search notes:

R function: pmin

Find the pairwise minimum.
pmin(c( 4, 8, 3, 1, 7, 9, 6),
     c( 5, 2, 6, 4, 5, 7, 3)
    )
#
# [1] 4 2 3 1 5 7 3
Github repository about-r, path: /functions/pmin.R

See also

pmax
Index to (some) R functions

Index