knn_annual_to_daily: Annual to daily disaggregation

Description Usage Arguments Value References

View source: R/knn_annual_to_daily.R

Description

Disaggregate Q1 by sampling from Q2 using (modified) k-nearest-neighbour resampling (Nowalk et al, 2011). Leap years are handled.

Usage

1

Arguments

Q1

An annual dataframe (year, Qa).

Q2

A daily dataframe (year, month, day, Qd).

K

Number of nearest neighbours.

Value

A data frame (year, nn, month, day, Qd) (nn for the sampled one of the k nearest neighbours).

References

Nowak, K., J. Prairie, B. Rajagopalan, and U. Lall (2010), A nonparametric stochastic approach for multisite isaggregation of annual to daily streamflow, Water Resour. Res., 46, W08529, doi:10.102/2009WR008530.


ntthung/shy documentation built on May 7, 2019, 4:42 p.m.