[R] about lm

Bert Gunter gunter.berton at gene.com
Fri Nov 16 20:51:37 CET 2012


I quote Rolf Turner:

"Learn something about R; don't just hammer and hope.  Read the
introductory manuals and scan the FAQ."

The answer is that your data are in "data," but until you make a
greater effort to learn R, I'm not sure this will be helpful to you.

Cheers,
Bert


On Fri, Nov 16, 2012 at 11:42 AM, Sonia Amin <soniaamin5 at gmail.com> wrote:
> 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 at 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm




More information about the R-help mailing list