[R] fitting a curve to data points

Rolf Turner r.turner at auckland.ac.nz
Tue Oct 7 04:49:30 CEST 2008


On 7/10/2008, at 2:53 PM, Carlos Guâno Grohmann wrote:

> Hello all. This is likely to be a silly question, but I have a set of
> data points and I want to fit a curve to it, like this:
> http://www.igc.usp.br/pessoais/guano/temp/curve.png.
>
> which function should I use?

Have a look at smooth.spline() and loess().

	cheers,

		Rolf Turner
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################



More information about the R-help mailing list