simPrecipOcc: simPrecipOcc

View source: R/GWexPrec_lib.r

simPrecipOccR Documentation

simPrecipOcc

Description

find matrix of correlations leading to estimates cor between intensities

Usage

simPrecipOcc(nLag, n, pr)

Arguments

nLag

order of the Markov chain

n

integer indicating the length of simulated chains

pr

vector of probabilies corr. to the conditional transition probabilities

Value

a vector Xt of length n with values 0/1 corr. to dry/wet states

Author(s)

Guillaume Evin


guillaumeevin/GWEX documentation built on Feb. 9, 2024, 3:22 a.m.