R/min_max.R
max.Rd
Finds the minimum value for each column of a matrix, potentially returning the indices instead
max(X, indices = TRUE)
matrix
return indices?
Either a list or a vector
Waldir Leoncio
A <- matrix(c(23, 42, 37, 15, 52)) max(A) #> $maxs #> [1] 52 #> #> $idx #> [1] 5 #> base::max(A) # for comparison #> [1] 52