Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. x<-c("A", "B", "C", "D", "E")
  2. df <- subset(df, subset = col_name %in% x)
  3.  
  4. dplyr::filter(data, col1 cond, col2 cond, col3 cond....coln cond)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement