powered by
Function to simulate the chain-binomial model
sim.cb(S0, beta)
a scalar with value for S0
a scalar with value for beta
A data-frame with time series of susceptibles and infecteds
# NOT RUN { sim=sim.cb(S0=6500, beta=23) # }
Run the code above in your browser using DataLab