Thanks a lot Don, I did the above mentioned. And yes one of my variable
field had some non numeric data. Because of large set of variables , when I
used str(BSE) , some result was omitted, so that's why it went un noticed.
Thank you
On Fri 15 May, 2015 11:21 pm MacQueen, Don macque...@llnl.gov
For sure this is not a Mac OS X related problem.
If the data frame is named BSE then your lm() calls need to say data =
BSE, not data = bse.
How many factpr levels does company have?
Besides all that, I would suggest you start with simpler uses of lm, and
find out if they work. For example, try
I Have a data frame named BSE and CP is my independent variable
and here;s the error I get if I try to run an lm function
any idea whats wrong
P.S - all my data is in numeric except company which is a factor. I have
2700 row and 450 variable
P.P.S - I have no missing data, I have 0 in Empty
3 matches
Mail list logo