[R] help to add a new column filled with value 1

Mohan L l.mohanphysics at gmail.com
Tue Nov 9 15:25:46 CET 2010


Dear All,

I have a data frame with  5 column and 201 row data. I want to add one
more column between column 1 and 2 with value of 1. So the new column
has to be the second column filled with 1. Any help will be
appreciated.

Thanks for your time.


Thanks & Rg
Mohan L



More information about the R-help mailing list