find omega correlation leading to estimates cor between occurrences
infer.mat.omega(P.mat, isPeriod, th, nLag, pr.state, nChainFit, isParallel)
A list with different objects
Qtrans.mat: matrix nStation x n.comb of transition probabilites
mat.comb: matrix of possible combination n.comb x nLag
mat.omega: The spatial correlation matrix of occurrences \(\Omega\) (see Evin et al., 2018).
matrix of precipitation n x p
vector of logical n x 1 indicating the days concerned by a 3-month period
threshold above which we consider that a day is wet (e.g. 0.2 mm)
order of the Markov chain
output of function lagTransProbaMatrix
length of the simulated chains used during the fitting
logical: indicate computation in parallel or not (easier for debugging)
Guillaume Evin