# NOT RUN {
# Parameters and initial conditions.
parameters <- c(beta = 0.03, gamma = 1 / 100, N = 100)
initials <- 70
# Solve and plot.
sis.demog.stoch <- SISDemogStoch(pars = parameters,
init = initials, end.time = 10 * 365)
PlotMods(sis.demog.stoch)
# }
Run the code above in your browser using DataLab