Hello Faradj, It seems like your lm function call may need to be changed to something like:
a <- lm( GandW ~ Authocracy, data = yourDataSetNameGoesHere) Best Regards, Ray DiGiacomo, Jr. Master R Trainer President, Lion Data Systems LLC President, The Orange County R User Group Board Member, TDWI [email protected] (m) 408-425-7851 San Juan Capistrano, California USA twitter.com/liondatasystems linkedin.com/in/raydigiacomojr youtube.com/user/liondatasystems/videos Check out my one-on-one web-based R Training Courses at liondatasystems.com/courses On Sun, Nov 25, 2012 at 2:01 PM, Faradj Koliev <[email protected]> wrote: > When try ti run lm() I get this error message: Error: unexpected input in > "A=lm( "GandW" ~ Authocracy,Data)" > > What is it that Iam doing wrong? > > Thank you > > > Stockholm university > > Faradj > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
