[R] cubic spline curves

Huntsinger, Reid reid_huntsinger at merck.com
Mon Jul 25 22:58:47 CEST 2005


Have a look at help(spline) for starters.

Reid Huntsinger

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Haibo Huang
Sent: Monday, July 25, 2005 4:34 PM
To: r-help at 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 at 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




More information about the R-help mailing list