[R] Markovchain and Sensitivity analysis

2016-02-08 Thread Kristin Bornstein
I'm trying to develop a markov chain transition matrix to simulate an infectious disease model. I've got a much larger matrix that I'm working with but here's the code for a toy version of the model: library("markovchain") byRow <- TRUE #Parameters pop <- 1000 b1 <- 0.095 b2 <- 0.048 b3 <

[R] R-help with markovchain package and sensitivity analysis

2016-01-27 Thread Kristin Bornstein
Hi - I'm currently trying to work with a markov chain transition matrix developed using the markovchain package (it's a 42x42 matrix model). I've got the matrix up and running smoothly with no problems. However, I'm trying to run some sensitivity analyses and distribution analyses on the model, an