SIRsample: Sample from a SIR output

Description Usage Arguments Details Value

Description

Number recovered in a subsample of SIR output

Usage

1
SIRsample(N, R, n)

Arguments

N

Total population size

R

Number recovered in population

n

Subsample size

Details

Takes a sample of n from a population of N of whom R are recovered, and returns the number of the sample who are found to be recovered.

Value

Number recovered in subsample


dennisprangle/lazyABCexample documentation built on May 15, 2019, 3:25 a.m.