Re: [R] make a column from the row names

2010-05-04 Thread John Kane
Have a look at ?substring --- On Tue, 5/4/10, Mohan L wrote: > From: Mohan L > Subject: [R] make a column from the row names > To: r-help@r-project.org > Received: Tuesday, May 4, 2010, 9:06 AM > Dear All, > > > avglog > 01/11/09 02/11/09 03/11/09 04/11/09 &

[R] make a column from the row names

2010-05-04 Thread Mohan L
Dear All, > avglog 01/11/09 02/11/09 03/11/09 04/11/09 9.75 4.50 4.50 8.67 > avglog1 <- data.frame(avglog) > avglog1 avglog 01/11/09 9.75 02/11/09 4.50 03/11/09 4.50 04/11/09 8.67 The first column isnt a column, It's the row names. I makeing a column fro