[R] Really a newbe Q about data.frames

Mark Myatt mark at myatt.demon.co.uk
Mon Feb 4 12:28:08 CET 2002

Fredrik Karlsson <fredrik.karlsson at ling.umu.se> writes:
>Hi all (again)
>Sorry to bother you with this lame question, but since I have not been
>able to find the answer in the manuals..
>How do I change the name of a variable in a data.frame??
>(Without copying hte entire fram to another one of course..)

Use names().


Mark Myatt

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