I have data table organized into columns "color" and "direction". In the "color" column, there are only 2 different variables, red and white.
I'm super new with working with R and was wondering how to split this data table into 2 separate data tables, one with only the data associated with red and another set with data only associated with white.