Using the below code, I am trying to filter my dataset so that only those who are CG_less14==0 & CG_High14==0 to be selected. I got an error: no applicable method for 'filter_' applied to an object of class "c('double', 'numeric')". Is something wrong with my code?
married_noncare <- filter (all_sample, CG_less14==0 & CG_High14==0)