survey_mf.Rd
Prepare model frames for survey datasets
survey_mf(
survey_ids,
indicator,
survey_hiv_indicators,
naomi_mf,
use_kish = TRUE,
deff = 1,
min_age = 0,
max_age = 80,
use_aggregate = FALSE
)
Survey IDs
Indicator to filter, character string
Survey HIV indicators
Naomi model frame
Logical whether to use Kish effective sample size
Assumed design effect for scaling effective sample size
Min age for calculating recent infection
Max age for calculating recent infection
Logical; use aggregate survey data as provided instead of subsetting fine area/sex/age group stratification.