Get individual study estimands using data.table

get_study_estimands(
  data,
  in_groups = NULL,
  out_groups = "^known(\\_\\d|\\d)?$",
  hidden_var = "hidden"
)

Arguments

data

pass-through population data frame

in_groups

character string containing regular expression to match group names for which prevalence is estimated within hidden group

out_groups

character string containing regular expression to match group names within which hidden group prevalence is estimated

hidden_var

character string containing hidden group name in the study population data frame

Value

Estimands data frame for single study