extract_cohort_status_surveydate: extract_cohort_status_surveydate

View source: R/extract_cohort_status_surveydate.R

extract_cohort_status_surveydateR Documentation

extract_cohort_status_surveydate

Description

a function that calculates the probability of testing recently infected at a time since infection tau.

Usage

extract_cohort_status_surveydate(
  date_of_birth,
  max_age,
  time_slice,
  time_step,
  population
)

Arguments

date_of_birth

the date of birth of the cohort.

max_age

maximum age of the birth cohort.

time_slice

dates with which the survey are to be conducted

time_step

the time or age difference between to consecutive times or ages the probability of surving infection or death in the susceptible statemi.e it is uniform in all values supplied

population

dates with which the survey are to be conducted

Value

a vector which denotes being the probability of testing recently infected being recently infected fo


laurettemhlanga/PopulationSimulation documentation built on Sept. 9, 2023, 12:39 p.m.