View source: R/mc_adjust_transition.R
mc_adjust_transition | R Documentation |
Adjust Markov Chain Transition Matrix
mc_adjust_transition(transition, dry_spell = 1, wet_spell = 1)
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) |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.