Patrick Kofod Mogensen Sat, 29 Aug 2015 07:44:34 -0700
Is your data in a dataframe? Then you can use the by function.