Re: [Rd] lm function (PR#13608)

2009-03-18 Thread Thomas Lumley
This is not a bug. You forgot to use the header=TRUE argument to read.table(), so your variables weren't recognized as numeric. Please don't use r-bugs unless you are sure there is a bug in R. Use r-help to ask for help. -thomas On Wed, 18 Mar 2009 michael_ka...@earthlink.net wrote:

[Rd] lm function (PR#13608)

2009-03-18 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.109.172) I tried using the lm function to regress the third column listed below on the second column listed below. It gave me an error message. My code is below. > HDISWLSdata=read.table("RHDISWLS.txt")