[R] Newbie question about read.table

Steve Miller steve.miller at jhu.edu
Thu May 11 19:51:25 CEST 2006

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: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of David Kaplan
Sent: Thursday, May 11, 2006 12:39 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Newbie question about read.table


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


	[[alternative HTML version deleted]]

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list