Also coef(mylm) where you can deal with coef(mylm) [1], coef(mylm)[2]... And plot(y~x, data=mydf) curve(coef(mylm)[1]+coef(mylm)[2]*x) could produce interesiting visual results :-)
milton On Thu, May 14, 2009 at 2:30 PM, Dieter Wirz <didi.w...@gmail.com> wrote: > Thanks Bert and Luc! > Sometimes the solution is close, but I did not find it.... > I always tried mylm$Coefficients... Stupid /me. > -didi > > BTW: many thanks to all developers of R. IMHO R is one of the most > outstanding free projects! > > > On Thu, May 14, 2009 at 7:07 PM, Bert Gunter <gunter.ber...@gene.com> > wrote: > > > > -- but it is preferable to use the appropriate access functions: > > > > coef(mylm) > > > > ?coef > > > > Bert Gunter > > Nonclinical Biostatistics > > 467-7374 > > > > > > ## Now, what I believe you're looking for ; > > > > mylm$coefficients ; > > > > > > Cheers, > > > > -- > > *Luc Villandré* > > /Biostatistician > > McGill University Health Center - > > Montreal Children's Hospital Research Institute/ > > > > ______________________________________________ > > 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<http://www.r-project.org/posting-guide.html> > > and provide commented, minimal, self-contained, reproducible code. > > > > > > ______________________________________________ > 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<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.