Description Usage Arguments Value References
View source: R/knn_annual_to_daily.R
Disaggregate Q1 by sampling from Q2 using (modified) k-nearest-neighbour resampling (Nowalk et al, 2011). Leap years are handled.
1 | knn_annual_to_daily(Q1, Q2, K)
|
Q1 |
An annual dataframe (year, Qa). |
Q2 |
A daily dataframe (year, month, day, Qd). |
K |
Number of nearest neighbours. |
A data frame (year, nn, month, day, Qd) (nn for the sampled one of the k nearest neighbours).
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.