Re: [R] Fitting a gaussian distribution to a plot

2013-02-21 Thread Rui Barradas
PM Subject: [R] Fitting a gaussian distribution to a plot I have a peak I would like to fit with a gaussian distribution, and am having difficulties. First of all I am having difficulties getting R to except my function input, and additionally I am having trouble plotting the non linear model

[R] Fitting a gaussian distribution to a plot

2013-02-20 Thread Samantha Warnes
I have a peak I would like to fit with a gaussian distribution, and am having difficulties. First of all I am having difficulties getting R to except my function input, and additionally I am having trouble plotting the non linear model on my scatterplot of data (the peak). Here is my log:

Re: [R] Fitting a gaussian distribution to a plot

2013-02-20 Thread arun
-27 4.212967e-27 4.213725e-27 4.214483e-27 4.215241e-27 #[36] 4.215999e-27 A.K. - Original Message - From: Samantha Warnes war...@wisc.edu To: r-help@r-project.org Cc: Sent: Wednesday, February 20, 2013 6:33 PM Subject: [R] Fitting a gaussian distribution to a plot I have a peak I would