number_tests: Calculate number of tests conducted or number tested by year

View source: R/outputs.R

number_testsR Documentation

Calculate number of tests conducted or number tested by year

Description

Calculate number of tests conducted or number tested by year

Usage

number_tests(mod, fp, df, tested12m = FALSE, VERSION = "C")

Arguments

mod

model output of class 'eppasm'

fp

parameter inputs (class 'specfp')

df

a data.frame with indices for prediction. See evertest() for more information.

Details

Number of tests (or number tested in past 12 months) are approximated by mid-year counts and annual testing rates within each stratum.

Value

a data.frame consisting of the number of tests, number tested in the past 12 months, and population size corresponding to rows of df


mrc-ide/first90release documentation built on Nov. 22, 2024, 5:02 a.m.