splineInterpolateMonthlytoDailyforSeveralYears: Interpolates monthly data to daily data using...

Description Usage Arguments Author(s) See Also

View source: R/splineInterpolateMonthlytoDailyforSeveralYears.R

Description

Interpolates monthly data to daily data using splineInterpolateMonthlytoDaily for several years

Usage

1
2
3
splineInterpolateMonthlytoDailyforSeveralYears(val, start_year = 2010,
  nyear = 1, leap = TRUE, offset = 2, no_spline = FALSE,
  yearly = FALSE)

Arguments

val

matrix containing monthly mean data for one year

start_year

first year

nyear

number of years since start_year

leap

logical variable If TRUE (default) leap years are considered, otherwise they are not

offset

integer values. Default is 2. Number of years considered beyond the extremes in order to avoid edge errors

no_spline

logical value. If TRUE no spline interpolation is calculated and the daily value corresponds to the monthly average value. Default is FALSE.

yearly

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

Author(s)

Emanuele Cordano, Emanuele Eccel

See Also

spline,splineInterpolateMonthlytoDaily


RMAWGEN documentation built on Dec. 12, 2019, 9:07 a.m.