names(data) <- c('Apple', 'Orange') > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Johnsons > Sent: Monday, September 11, 2006 12:49 PM > To: r-help@stat.math.ethz.ch > Subject: [R] rename cols > > A quick question please! > > How do you rename column names? i.e. V1 --> Apple; V2 --> > Orange, etc. > > thx much > > ej > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.