max | R Documentation |
Finds the minimum value for each column of a matrix, potentially returning the indices instead
max(X, indices = TRUE)
X |
matrix |
indices |
return indices? |
Either a list or a vector
Waldir Leoncio
A <- matrix(c(23, 42, 37, 15, 52)) max(A) base::max(A) # for comparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.