[R] How do you delete variables from a data frame?
Stuart Leask
stuart.leask at nottingham.ac.uk
Mon Feb 4 12:55:08 CET 2002
Thanks to Göran and Jens.
dataframe$VAR <- NULL
completely removes the variable.
Stuart
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list