Open rachaelmountain opened 2 years ago
@rachaelmountain can you please share a reproducible example demonstrating this issue?
settings <- get_default_settings()
settings$n_base_agents <- 1000
init_session(settings=settings)
input <- Cget_inputs()
input$values$global_parameters$time_horizon <- 5
run(input=input$values)
output_ex <- Cget_output_ex()
terminate_session()
rowSums(output_ex$n_alive_by_ctime_sex)
I'm assuming n_alive_by_ctime reports the number alive at the start of each year?
epic adds 1 to whatever you give as the starting number in settings$n_base_agents