[R] Fitting arbitrary curve to 1D data with error bars
erkcan at hotmail.com
Thu Nov 14 10:01:41 CET 2013
Thanks, but if you have another closer look to my post, you will see that my question has nothing to do with drawing error bars on a plot.
What I want is to do a curve fit to a data with error bars.
On 14 Nov 2013, at 04:21, Suzen, Mehmet wrote:
> If you are after adding error bars in a scatter plot; one example is
> given below :
> #some example data
> df <- data.frame(x = rep(1:10,each=5), y = rnorm(50))
> #calculate mean, min and max for each x-value
> df2 <- ddply(df,.(x),function(df)
> #plot error bars
> (From: http://stackoverflow.com/questions/13032777/scatter-plot-with-error-bars)
More information about the R-help