get_daily_prec | R Documentation |
Implements a weather generator to simulate daily precipitation, given the monthly total and the number of days with rain for each month.
get_daily_prec(mval_prec, mval_wet, set_seed = FALSE, leapyear = FALSE)
mval_prec |
A vector of twelve numeric values for monthly values of total precipitation. |
mval_wet |
A vector of twelve integer values for the number of wet days in each month. |
set_seed |
A logical specifying whether a random seed is set. |
leapyear |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.