infer.mat.omega | R Documentation |
find omega correlation leading to estimates cor between occurrences
infer.mat.omega(P.mat, isPeriod, th, nLag, pr.state, nChainFit, isParallel)
P.mat |
matrix of precipitation n x p |
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 |
order of the Markov chain |
pr.state |
output of function |
nChainFit |
length of the simulated chains used during the fitting |
isParallel |
logical: indicate computation in parallel or not (easier for debugging) |
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).
Guillaume Evin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.