Description Usage Arguments Value Author(s) References See Also Examples
Calculate RAI and the drought specifications with the length, the drought type and the intensity
1 | rai(monthly_data, time_step = 12)
|
monthly_data |
[zoo] rainfall monthly data in zoo class with date in %Y-%m-%d |
time_step |
[numeric] default = 12, time step to sum monthly precipitation (1, 3, 6, 9, 12, 24 and 48) |
List that contains
$rai [zoo] zoo with the rai values with date in %Y-%m-%d
$length_zoo [zoo] zoo with the length of drought with date in %Y-%m-%d [day]
$drought_type [zoo] zoo with the type of the period for each month
$drought_number [data.frame] dataframe with the number of different period by type:
Extwet (rai > 3)
Verywet (2.99 > rai > 2)
Wet (1.99 > rai > 1)
Normal (0.99 > rai > -0.99)
Dry (-1 > rai > -1.99)
VeryDry (-2 > rai > -2.99)
ExtDry (-3 > rai)
Florine Garcia (florine.garcia@gmail.com)
Pierre L'Hermite (pierrelhermite@yahoo.fr)
Van Rooy, M. P. (1965). A rainfall anomaly index independent of time and space. Notos, 14, 43–48.
plot_trend
plot the index
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.