[R] Linear Regression Warning after plot: NaNs produced in

2014-06-29 Thread wat tele
Hello, I'm a R beginner and I want to make a Multiple Regression about birds. My data is stord in a .csv file. I tried to do this with the following code: reg.data - read.table(file.choose(),header=T, sep=;,dec=,) attach(reg.data) names(reg.data) model - lm(Flights ~ Age + Gender + weight +

Re: [R] Linear Regression Warning after plot: NaNs produced in

2014-06-29 Thread William Dunlap
One way to see where the first warning comes from is to turn warnings into errors with options(warn=2) and when the error happens call traceback(). Bill Dunlap TIBCO Software wdunlap tibco.com On Sun, Jun 29, 2014 at 4:12 AM, wat tele watt...@hotmail.de wrote: Hello, I'm a R beginner and I