a guest Apr 20th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- df %>% group_by(year) %>% filter(MIAPRFCD_J8==1 | MIAPRFCD_55==1) %>% summarise (Freq = n())
- df %>% group_by(year) %>% filter(sum==1 | (MIAPRFCD_J8==1 & MIAPRFCD_55==1)) %>% summarise (reason_lv = n())
RAW Paste Data