I have a data frame DF of about 2000 rows with a column "Bone" that has 10 possible values (e.g., Humerus, Femur, etc.). I would like to create 10 separate data frames by splitting DF according to Bone - a data frame called Humerus that contains all of the rows from DF wherein DF$Bone contained the value "Humerus", a data frame called Femur that contains all of the rows from DF wherein DF$Bone contained the value "Femur," etc.
Code for doing this a single time: Humerus<-filter(DF, Bone == "Humerus")
How would I create a for loop (or other function) that could do this automatically rather than copying 10 lines of code and changing the variable name?