powered by
Finds the minimum value for each column of a matrix, potentially returning the indices instead
max(X, indices = TRUE)
Either a list or a vector
matrix
return indices?
Waldir Leoncio
A <- matrix(c(23, 42, 37, 15, 52)) max(A) base::max(A) # for comparison
Run the code above in your browser using DataLab