util.list: Functions to Work with Lists

util.listR Documentation

Functions to Work with Lists

Description

Identify list elements that have the maximum (or minimum) values.

Usage

  which.pmax(x, maximum = TRUE)

Arguments

x

list of numeric vectors

maximum

logical, find maximum values or minimum values?

Details

which.pmax takes a list of equal-length numeric vectors or equal-dimension arrays in x and returns the index of the list element that has the maximum value at each point. Change maximum to FALSE to find the minimum values instead.


CHNOSZ documentation built on May 29, 2024, 3:30 a.m.