which.max & which.min Functions in R (Example) | How to Locate First Max & Min | Find Index Position

preview_player
Показать описание
R code of this video:

vec <- c(5, 1, 6, 0, 5, 3, 3, 0, 4, 1) # Create example vector
vec # Print example vector

Follow me on Social Media:

Рекомендации по теме
Комментарии
Автор

Do you know how to locate the second max?

MuqaddasaWahid