Description Usage Arguments Value Examples
probability of rain given previous day's wet/dry status
1 |
x |
numeric vector of daily precip |
year |
numeric vector. Passing function the year as well, so don't 'look' at previous day that is actually in previous year. |
return |
use "both" (return both probabilities), "P_W_W" (probability is wet given previous day was wet), or "P_W_D" (prob wet given previous day was dry) |
vector of length 1 or 2
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.