find rho autocorrelation leading to empirical estimates
get.vec.autocor(vec.ar1.obs, Xt, parMargin, typeMargin, nChainFit, isParallel)
vector of rho parameters to simulate the MAR process
vector of observed autocorrelations for all stations
simulated occurrences given model parameters of wet/dry states
parameters of the margins p x 3
type of marginal distribution: 'EGPD' or 'mixExp'
integer indicating the length of the simulated chains
logical: indicate computation in parallel or not (easier for debugging)
Guillaume Evin