Get rows that have the minimum or maximum values in a column – Snippet #86

Discover how to get rows that have the minimum or maximum values in a column with R