Report question

Question: Partitioning data set in r based on multiple classes of observations