if (FALSE) {
library(dplyr)
xs_data <-
sees_pop_data_pk_100
curve <-
typhoid_curves_nostrat_100 %>%
filter(antigen_iso %in% c("HlyE_IgA", "HlyE_IgG"))
noise <-
example_noise_params_pk
stratified_data =
stratify_data(
data = xs_data,
curve_params = curve,
noise_params = noise,
strata_varnames = "catchment",
curve_strata_varnames = NULL,
noise_strata_varnames = NULL
)
}
Run the code above in your browser using DataLab