Description Usage Arguments Value Author(s) See Also

View source: R/splineInterpolateMonthlytoDaily.R

Interpolates monthly data to daily data using `spline`

and preserving monthly mean values

1 2 3 | ```
splineInterpolateMonthlytoDaily(nday = 365, val = as.matrix(cbind(1 *
(0.5:11.5) * nday/12, 2 * (0.5:11.5) * nday/12)), origin = "1961-1-1",
first_row = 1, last_row = nday, no_spline = FALSE, no_mean = FALSE)
``` |

`nday` |
number of days on which the daily data is requested, e.g. number of days in one year |

`val` |
matrix containing monthly mean data |

`origin` |
date corresponding to the first row of the returned matrix |

`first_row` |
row corresponding the first day of time interval where montlhy mean conservation is applied |

`last_row` |
corresponding the last day of time interval where montlhy mean conservation is applied |

`no_spline` |
logical value. If |

`no_mean` |
logical value. Default is |

a matrix or data frame with interpolated daily data

Emanuele Cordano, Emanuele Eccel

`spline`

,`splineInterpolateMonthlytoDailyforSeveralYears`

RMAWGEN documentation built on May 29, 2017, 9:09 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.