subset_by_sex function

Subset data.frame to required sex