Combine lists or perform arithmetic operations on elements of lists.
list, numeric vectors for which to find maximum values (in parallel) (
logical, remove missing values?
logical, find minimum values instead of maximum ones?
which.pmax takes a list of equal-length numeric vectors (or objects that can be coerced to numeric) in
elts and returns the index of the vector holding the maximum value at each position.
TRUE, values of
NA are removed; if
TRUE the function finds locations of the minimum values instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.