Posted on February 16, 2007 by vikasrawal in Uncategorized | 0 Comments
[This article was first published on V. » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Use “select=c(var1,var2)” in the subset command to select var1 and var2.
Use “select=-c(var1,var2)” in the subset command to drop var1 and var2.