1 | twd(df.hist, df.x)
|
df.hist |
dataframe of historical monthly reservoir fill volume in \itemdf.xdataframe with same structure of df.hist with values for the months which we are calculating the index. Should have more than one row, ie more than one month |
requires xts, lubridate, dplyr read more about total water deficit 10.1029/WR016i002p00297
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.