[R] Assigning variable names from one object to another object

2009-05-24 Thread Sunita22
Hello I have 2 datasets say Data1 and Data2 both are of different dimesions. Data1: 120 rows and 6 columns (Varname, Vartype, Labels, Description, ) The column Varname has 120 rows which has variable names such id, age, gender,.so on Data2: 12528 rows and 120 columns The column names

Re: [R] Assigning variable names from one object to another object

2009-05-24 Thread Sunita Patil
Hello Duncan Thank you so much it worked. I think I was doing it in a more complicated way so I didnt get a solution Thank you very much once again Regards Sunita On Sun, May 24, 2009 at 9:59 PM, Duncan Murdoch murd...@stats.uwo.cawrote: On 24/05/2009 12:21 PM, Sunita22 wrote: Hello I

Re: [R] Assigning variable names from one object to another object

2009-05-24 Thread Duncan Murdoch
On 24/05/2009 12:21 PM, Sunita22 wrote: Hello I have 2 datasets say Data1 and Data2 both are of different dimesions. Data1: 120 rows and 6 columns (Varname, Vartype, Labels, Description, ) The column Varname has 120 rows which has variable names such id, age, gender,.so on Data2: