simobs: Create simulated observations from a scenario run

Description Usage Arguments

View source: R/obs.R

Description

Given a matrix of simulation outputs and a function of time for the number of tests, create simulated observations.

Usage

1
simobs(rundata, bparms, population = 1e+05, ntestfn = linear_ntest)

Arguments

rundata

Matrix of run data returned from an integration of seir_equations

bparms

Vector containing the b0 and b1 parameters.

population

Total population for the simulated entity

ntestfn

Function of time that returns the number of daily tests performed.


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.