infer.mat.omega {GWEX}R Documentation

infer.mat.omega

Description

find omega correlation leading to estimates cor between occurrences

Usage

infer.mat.omega(P.mat, isPeriod, th, nLag, pr.state, nChainFit, isParallel)

Arguments

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 lagTransProbaMatrix

nChainFit

length of the simulated chains used during the fitting

isParallel

logical: indicate computation in parallel or not (easier for debugging)

Value

A list with different objects

Author(s)

Guillaume Evin


[Package GWEX version 1.1.3 Index]