Displaying 1 result from an estimated 1 matches for "20020220_144752_15178".
2002 Mar 27
1
read.table problem with column headers
...ich should be the
row name when it gets read in, right? I've only been
using R for one day so bear with me)
The first row in the file has column names, and the
first name is "Key", followed by "Age" and so on. for
example:
Key;Age;Gender;Years In IT; #more column labels...
20020220_144752_15178;41;0;17; #more data...
When I read this in, saying
survey = read.table("myfile.dat",TRUE,";")
I wind up with "Age" column being named "Key" and all
the column labels shift to the right. No matter what
I've tried, I can't put *my* header on the firs...