I need to subset a data frame into smaller data frames by age. I want to write a function for this but do not know how to avoid writing each variable name.
Below is how I