Skip to content
Back to formatted view

Raw Message

Message-ID: <4CFE75C0.8010601@ucalgary.ca>
Date: 2010-12-07T17:58:24Z
From: Peter Ehlers
Subject: please show me simple example how to plot
In-Reply-To: <1291743438989-3076863.post@n4.nabble.com>

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.