Implements different methods to interpolate from monthly to daily values, including fitting a polynomial.
monthly2daily(
mval,
method = "polynom",
mval_prev = mval[nmonth],
mval_next = mval[1],
leapyear = FALSE
)
A vector of twelve numeric values for monthly values.
A character string specifying the method for interpolation.
Defaults to "polynom"
for using a polynomial.
The monthly value of the month before the twelve months for
which values are provided by argument mval
.
The monthly value of the month after the twelve months for
which values are provided by argument mval
.
A logical specifying whether interpolation is done for a leap year (with 366 days).
A named list of data frames (tibbles) containing input data for each site is returned.