Search notes:
R function: pmax
Find the
pairwise maximum
.
pmax(c( 4, 8, 3, 1, 7, 9, 6), c( 5, 2, 6, 4, 5, 7, 3) ) # # [1] 5 8 6 4 7 9 6
Github repository
about-r
, path:
/functions/pmax.R
See also
pmin
Index to (some) R functions
Index