[R] Fitting a trend-line

Jim Lemon jim at bitwrit.com.au
Wed Jul 8 13:28:07 CEST 2009


anupam sinha wrote:
> Hi all,
>          I am new to R. How does one go about fitting a trend-line to a
> scatter plot? Any help is appreciated.
>
>   
Hi Anupam,
Have a look at the help page for the abline function in the graphics 
package.

Jim




More information about the R-help mailing list