I wish to (1) group data by one variable (State), (2) within each group find the row of minimum value of another variable (Employees), and (3) extr
State
Employees
Here a dplyr solution ( Note that I am not a regular user ):
dplyr
library(dplyr) data %>% group_by(State) %>% slice(which.min(Employees))