splineInterpolateMonthlytoDaily
for several yearsR/splineInterpolateMonthlytoDailyforSeveralYears.R
splineInterpolateMonthlytoDailyforSeveralYears.Rd
Interpolates monthly data to daily data using splineInterpolateMonthlytoDaily
for several years
splineInterpolateMonthlytoDailyforSeveralYears(
val,
start_year = 2010,
nyear = 1,
leap = TRUE,
offset = 2,
no_spline = FALSE,
yearly = FALSE
)
matrix containing monthly mean data for one year
first year
number of years since start_year
logical variable If TRUE
(default) leap years are considered, otherwise they are not
integer values. Default is 2. Number of years considered beyond the extremes in order to avoid edge errors
logical value. If TRUE
no spline interpolation is calculated and the daily value corresponds to the monthly average value. Default is FALSE
.
logical value. If TRUE
the result with men value per each month per each year. Default is FALSE
.
@return a matrix or data frame with interpolated daily data