Skip to contents

Calculate number of "samples" and number of "positives" from modelled data for specified age range(s) and year(s)

Usage

sero_calculate2(sero_data = list(), model_data = list(), n_p = 1)

Arguments

sero_data

Data frame containing years, minimum and maximum ages, and values of vc_factor (proportion of people for whom vaccination status unknown)

model_data

SEIRV output of Model_Run and similar functions

n_p

Particle to select from model_data '

Details

Takes in information on minimum and maximum ages of desired range(s), year(s) for which to calculate number of "samples" (people eligible for testing) and "positives" (people who would test positive), plus vc_factor (proportion of people for whom vaccination status unknown)