Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x<-c("A", "B", "C", "D", "E")
- df <- subset(df, subset = col_name %in% x)
- dplyr::filter(data, col1 cond, col2 cond, col3 cond....coln cond)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement