Skip to content

Commit

Permalink
fix strata selection in print outcomes
Browse files Browse the repository at this point in the history
  • Loading branch information
saraloo committed Apr 17, 2024
1 parent 2ce74d0 commit c3a6184
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions flepimop/R_packages/flepiconfig/R/yaml_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -1335,9 +1335,12 @@ print_outcomes <- function (resume_modifier = NULL,
incidC_pert <- ""
pert_repeat <- prod(compartment_tract_length[-1], na.rm = TRUE)

variant_strata = compartment_tract_list$variant_strata
vaccine_strata = compartment_tract_list$vaccine_strata
age_strata = compartment_tract_list$age_strata
variant_strata = `$`(compartment_tract_list, 'variant')
vaccine_strata = `$`(compartment_tract_list, 'vacc')
age_strata = `$`(compartment_tract_list, 'age')
# variant_strata = compartment_tract_list$variant_strata
# vaccine_strata = compartment_tract_list$vaccine_strata
# age_strata = compartment_tract_list$age_strata

for (i in 1:pert_repeat) {
if (incidC_perturbation) {
Expand Down

0 comments on commit c3a6184

Please sign in to comment.