Skip to content

Instantly share code, notes, and snippets.

@thoolihan
Created December 11, 2014 16:23
Show Gist options
  • Save thoolihan/221e83623d330744809b to your computer and use it in GitHub Desktop.
Save thoolihan/221e83623d330744809b to your computer and use it in GitHub Desktop.
select example
R> library(dplyr)
R> d <- data.frame(a=c(1,2,3), b=c(4,5,6))
R> select(d, -a)
b
1 4
2 5
3 6
R>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment