Description Usage Arguments Details
View source: R/precipitation.R
Adjusts UKCP18 precipitation data to give expected proportion of days with zero precipitation
1 | rainapplyzero(ukcp_pre, rzero = 18.59483)
|
ukcp_pre |
a |
rzero |
an optional single numeric value corresponding to the ratio of observed to ukcp18
days with zero precipitation as returned by |
if no value for rzero
is given, a default value derived for Cornwall, UK for
the period 2000-12-01 to 2010-11-30 is used. If rzero
> 1 (likely to be almost always true),
then the requisite number of zeros is assigned to days with the lowest rainfall. If rzero
< 1
then a dataset of precipitation values with the same mean and standard deviation of non-zero
precipitations values is generated, and the requisite number of days with zero rainfall are
assigned the lowest randomly generated precipitations values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.