Skip to content

Instantly share code, notes, and snippets.

@tengpeng
Created April 12, 2016 03:11
Show Gist options
  • Save tengpeng/4c133da0010bdb7f58296f6c36fd2038 to your computer and use it in GitHub Desktop.
Save tengpeng/4c133da0010bdb7f58296f6c36fd2038 to your computer and use it in GitHub Desktop.
df subset by count R
df2 <- subset(df, article_id %in% names(tt[tt > 200]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment