split() and unsplit()
split() can perform grouped aggregations
split() takes a vector x, a factor f, and returns a list where each element corresponds to levels of ‘f’ containing evenly elements of ‘x’ at corresponding indices.
split() also tests our knowledge of ‘[’ and ‘[[’!