Are you prefixing the variable names with the data.frame name, i.e.
mydf$col2, or referencing by index mydf[,2]?

Steve Miller

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Kaplan
Sent: Thursday, May 11, 2006 12:39 PM
To: [email protected]
Subject: [R] Newbie question about read.table

Hi

When I use the read.table function with header = T, I notice that it gives
me the variable names along the top as I expect.  But, when I then attempt
an analysis, e.g. regression, it doesn't recognize the variable names.  Am I
missing a step.  

Thank you

David


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to