dat=read.csv("c:\\ven.csv",header=TRUE,sep=";"); attach(attach(dat)) dat lm.1<-lm(ve~ su) summary(lm.1) GL Frank > Date: Fri, 16 Nov 2012 20:42:39 +0100 > From: soniaam...@gmail.com > To: r-help@r-project.org > Subject: [R] about lm > > Dear friends, > I have a csv file entitled ven.csv located in C:\\, this file contains only > two columns:"ve" and "su" I have written the following lines: > data=read.csv("c:\\ven.csv",header=TRUE,sep=";"); > > lm(ve~ su) > I have obtained the following message: > > Error in eval(expr, envir, enclos) : object 've' does not exist. What's the > problem? thank you for your help in advance > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. [[alternative HTML version deleted]]
______________________________________________ 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.