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 <
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
2 matches
Mail list logo