Message-ID: <F189753D-BB43-462D-8F96-625AD802F2D9@xs4all.nl>
Date: 2016-06-02T10:55:55Z
From: Berend Hasselman
Subject: translating function td of package tempdisagg to FORTRAN
In-Reply-To: <4ad30546f70b49969462ef8bae4489b2@NOEINTPEXMU007.NEOPROD.EDF.FR>
> On 2 Jun 2016, at 12:41, MAURICE Jean - externe <jean-externe.maurice at edf.fr> wrote:
>
> I am (still) translating long R scripts to FORTRAN to improve speed. My client deals with river's flow.
>
> He has datas for each day of a week, we need to 'disaggregate' them to an hourly base (is that clear ?) . In R, he uses function td of library tempdisagg with the 'denton-cholette' algorithm. I would like to translate this function in FORTRAN.
>
> I searched for denton-cholette on internet but only found 'mathematical answers' I am not able to understand.
>
> I would like to have some informations about this function :
> Is it only a 'wrapper' to a C or Fortran library or is it a true R function ?
> Is the source (R, Fortran, C, ...) available somewhere ?
>
It is R.
Source of the tempdisagg package can be found on CRAN: https://cran.r-project.org
Follow the link "Packages" and then "Table of available packages, sorted by name".
Direct address for tempdisagg: https://cran.r-project.org/web/packages/tempdisagg/index.html
The source for the full package will be in the .tar.gz file.
Berend Hasselman
> Thanks in advance for all information you can give me !
> Jean in France
>
> PS please can you send a copy of your response directly to my address 'jean-externe.maurice at edf.fr'
>
Done automatically if one uses Reply to All?