Skip to content
Back to formatted view

Raw Message

Message-ID: <007f01c1ad72$cb28a4c0$f2e1f380@nottingham.ac.uk>
Date: 2002-02-04T11:55:08Z
From: root
Subject: How do you delete variables from a data frame?

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._