Hi there, I'm new to R, coming from gnuplot for the plotting facility... I'm just wondering if there is a equivalent to the fit function of gnuplot in R? If not, s there any good resource on fitting gaussians into a curve? greetings, Stefan
Stefan <jobmensa <at> me.com> writes: [snip]> I'm just wondering if there is a equivalent to the fit function of > gnuplot in R? > If not, s there any good resource on fitting gaussians into a curve?Try ?nls ?predict.nls
The nls function does nonlinear least squares fits. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Stefan > Sent: Saturday, March 12, 2011 4:20 AM > To: r-help at r-project.org > Subject: [R] Gnuplot fit function in R > > Hi there, > > I'm new to R, coming from gnuplot for the plotting facility... > > I'm just wondering if there is a equivalent to the fit function of > gnuplot in R? > > If not, s there any good resource on fitting gaussians into a curve? > > greetings, > > Stefan > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.