[R] find a function for a random curve

Rolf Turner rolf.turner at xtra.co.nz
Thu Jul 11 00:03:12 CEST 2013


Your question is very vague, so it's hard to know what to suggest.
Please note the exhortation that appears at the bottom of every
r-help message:
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

It is possible that splinefun() is what you are looking for.

     cheers,

         Rolf Turner

On 10/07/13 22:29, Xiaoyu Lu wrote:
> Hi,
>
> I want to find a functional form for my data. I have tried smoothing and
> obtained a kinda perfect fit.
> However, I can only draw it but cannot call it.
>
> I am wondering that is there a way that I can store the fit as a function
> and apply it when needed. e.g. tranformation etc.



More information about the R-help mailing list