Re: [R] cubic spline curves

From: Huntsinger, Reid <reid_huntsinger_at_merck.com>
Date: Tue 26 Jul 2005 - 06:58:47 EST


Have a look at help(spline) for starters.

Reid Huntsinger

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Haibo Huang Sent: Monday, July 25, 2005 4:34 PM
To: r-help@stat.math.ethz.ch
Subject: [R] cubic spline curves

I have a question about how to generate monthly data from quarterly data:

What I want to do is basically fits cubic spline curves to the quarterly data to form continuous-time approximations of the input series, and then generate output series (monthly data) from the spline approximations.

SAS can do it using proc expand:
http://support.sas.com/rnd/app/examples/ets/expa/

Anyone know how to do it in R? Any input is appreciated.

Best,
Ed



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 26 07:07:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:01 EST