sample_uncertainty_incidence_import: Samples uncertainty in incidence and importation data

View source: R/aux_functions.R

sample_uncertainty_incidence_importR Documentation

Samples uncertainty in incidence and importation data

Description

Samples uncertainty in incidence and importation data

Usage

sample_uncertainty_incidence_import(df, ndraw = 100)

Arguments

df

dataframe containing the variables "cases" (reported cases), "cases_local" (number of reported cases) and "population" (population size)

ndraw

number of samples

Value

A dataframe with ndraw replicates of the original dataframe df, containing 4 additional variables.
h is the sampled daily incidence (cases per person day),
prop_import is the sampled proportion of imported cases


SwissTPH/VivaxModelR documentation built on Feb. 14, 2024, 11:27 a.m.