On 2010-12-07 09:37, madr wrote:
Well, maybe I didn't write it clear. I know how to create scatterplot, and how to import data from csv file. But I do not know how to add this fitting that mentioned in sumbject to a plot. I do not know for what function name to look for in R. I played some time with ls, and it didn't create a line. I know the name for the fitting I ned from Statistica, and this is from help from this program: "A curve is fitted to the XY coordinate data according to the distance-weighted least squares smoothing procedure (the influence of individual points decreases with the horizontal distance from the respective points on the curve). For more information, see Distance-Weighted Least Squares."
Sounds like loess() to me. Peter Ehlers
Now I need to recreate it in R. Sorry again for not being clear.
______________________________________________ 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.