Learn R Programming

epimdr (version 0.6-5)

sim.cb: Function to simulate the chain-binomial model

Description

Function to simulate the chain-binomial model

Usage

sim.cb(S0, beta)

Arguments

S0

a scalar with value for S0

beta

a scalar with value for beta

Value

A data-frame with time series of susceptibles and infecteds

Examples

Run this code
# NOT RUN {
sim=sim.cb(S0=6500, beta=23)
# }

Run the code above in your browser using DataLab