I am trying to tidy the data in R. I have a factor with two levels and need to comprise a new data frame only for those observations with a certain value. How do I approach