Re: [R] How to load data file without attribute names?

2010-11-28 Thread 44whyfrog
Thank you very much. What I actually do was data1 - read.delim(path,head=FALSE,sep=,) motor_UPDRS -data1[5] qqnorm(motor_UPDRS) I eventually noticed that I missed a , in the second command. And I cannot retrieve a vector correctly. -- View this message in context:

[R] How to load data file without attribute names?

2010-11-27 Thread 44whyfrog
Hi all, I'm new to R and I'm struggling with loading a data file without attribute names, like: 1,72,0,5.6431,28.199 1,72,0,12.666,28.447 1,72,0,19.681,28.695 1,72,0,25.647,28.905 It has no names for the columns nor the rows. I tried data - read.table(path,header = FALSE, sep = ,) and it

Re: [R] How to load data file without attribute names?

2010-11-27 Thread jim holtman
You need to follow the posting guide and show exactly what you did. I read in your data and can print it. You did not show what 'x', and 'y' were in your data: myData - read.table('clipboard', sep=',') myData V1 V2 V3 V4 V5 1 1 72 0 5.6431 28.199 2 1 72 0 12.6660 28.447 3 1

Re: [R] How to load data file without attribute names?

2010-11-27 Thread Jim Lemon
On 11/27/2010 11:45 PM, 44whyfrog wrote: Hi all, I'm new to R and I'm struggling with loading a data file without attribute names, like: 1,72,0,5.6431,28.199 1,72,0,12.666,28.447 1,72,0,19.681,28.695 1,72,0,25.647,28.905 It has no names for the columns nor the rows. I tried data-