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


GWEX documentation built on Nov. 8, 2023, 5:06 p.m.