Skip to content

Instantly share code, notes, and snippets.

@cecilialee
Last active March 6, 2018 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cecilialee/da8dc1e880b94bcec505326c6877bd5f to your computer and use it in GitHub Desktop.
Save cecilialee/da8dc1e880b94bcec505326c6877bd5f to your computer and use it in GitHub Desktop.
Filtering row which contains a certain string using dplyr in R. #r
library(dplyr)
iris %>% filter(grepl("se", Species))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment