A crude way to do this could be to use loess() to model the data and then use predict() to get daily values. Watch out for the tails...loess() is not too bad for cyclical data, but doesn't fit the first and last part of the time series very well.
I'm sure there are more sophisticated ways...you didn't say anything about how hard you wanted to work on this. kw On Tue, Sep 10, 2013 at 2:50 AM, Pentti <pentti.piri...@fmi.fi> wrote: > Dear all > > I'm a new R user and don't know how to find help for my problem: > I have monthly mean temperature values for different 30-years periods in > the > past and future. I want calculate average temperature values for every day > in year for each period using the 12 values I have as input data. > I have about 4000 points and 5 periods and I think the monthly values > represent the daily value in the middle of the month (day numbers 15, 46, > 76 > ...,350). > > What library and which functions shall I use (and how) ? > > Thank you in advance > > Pentti > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Daily-average-temperature-from-monthly-average-temperature-tp4675752.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Kevin Wright [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.