Hi Bobo Give us the output of ls() before you run mod1<-lm(Pat2006~FHouse)
regards Christiaan On 21 March 2012 09:04, Nicole Marie Ford <nmf...@uwm.edu> wrote: > just a guess but does it know where to look for the variable? has the data > been specified? i am not seeing any of the previous messages in this thread > so forgive me if this has been mentioned. > > that error means it has no idea where to find the dependent variable > 'Pat2006'. > > ~nicole > > ----- Original Message ----- > Thank you. I was able to get it loaded however when I tried to run > > mod1<-lm(Pat2006~FHouse) > I got > Error in eval(expr, envir, enclos) : object 'Pat2006' not found -- Christiaan Pauw Nova Institute www.nova.org.za ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.