Have a look at help(spline) for starters. Reid Huntsinger
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haibo Huang Sent: Monday, July 25, 2005 4:34 PM To: [email protected] 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 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
