lagTransProbaMatrix | R Documentation |
Estimate the transition probabilities between wet and dry states, for nlag previous days, for all stations
lagTransProbaMatrix(mat.prec, isPeriod, th, nlag)
mat.prec |
matrix of precipitation |
isPeriod |
vector of logical n x 1 indicating the days concerned by a 3-month period |
th |
threshold above which we consider that a day is wet (e.g. 0.2 mm) |
nlag |
number of lag days |
list |
list with one item per station, where each item is a matrix nLag^2 x (nLag+1) of transition probability between dry/wet state. The first nLag columns indicate the wet/dry states for the previous nLag days |
Guillaume Evin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.