mc_adjust_transition: Adjust Markov Chain Transition Matrix

Description Usage Arguments Examples

Description

Adjust Markov Chain Transition Matrix

Usage

1
mc_adjust_transition(transition, dry_spell = 1, wet_spell = 1)

Arguments

transition

markov transition matrix

dry_spell

change factor for dry spell (default=1, no change)

wet_spell

change factor for wet spell (default=1, no change)

Examples

1
2
transitions <- mc_fit(x=sample(c('d', 'w', 'e'), size=720, replace=TRUE, prob=c(0.5, 0.3, 0.2)), months=rep(rep(seq(1, 12), each=30), times=2))
mc_adjust_transition(transition[[1]], dry_spell=1, wet_spell=1)

HydrosystemsGroup/Weather-Generator documentation built on May 8, 2019, 8:34 a.m.