No articles match
Conducting an MRC Projection1 days ago
1 Create a country list — create_country_list() | 2 Assemble a projection — create_projection_object() + variants_loader() | 3 Run the projection — project() | 4 Convenience helpers | base_object_generator() | test_object_generator()
Exporting Projection Results1 days ago
save_csv_all() | Files controlled by demographic_files | 1 · projection_structure_data.csv | 2 · projection_deaths_data.csv | 3 · projection_births_data.csv | 4 · projection_asfr_data.csv | 5 · projection_fertility_exposure_data.csv | 6 · projection_fertility_differentials.csv | Files controlled by switching_files | 7 · projection_switchers_data.csv | 8 · projection_switching_matrices.csv | Files controlled by migration_files | 9 · projection_emigration_data.csv | 10 · projection_immigration_data.csv
Inner Workings1 days ago
1 Object structure | Country_object | Projection_object | 2 The loader — Loader.R | base_data_list slot reference | Processing pipeline inside create_country_list() | migration_limit_check() | country_info_adjustment() | structure_data_adjustment() | object_loader() | error_check() | Country-list ownership lock | 3 Switching decomposition — switching_matrix_creator() | Algorithm | 4 Main procedure — dem_proj_no_mig() | Partitioned switching (switching_type = 1) | Non-partitioned (switching_type = 2) | 5 Fertility factorisation — fertility_step() | Shared input | Path A — combined factorisation (combined_fertility_factorization = TRUE) | Path B — per-age-group factorisation (combined_fertility_factorization = FALSE) | 6 Full single step — project() | Migration = FALSE | Migration = TRUE
Visualising MRC Projection Results1 days ago
1 Country-level plots — save_plots_all() | Plot variants by flag | Example output — USA (code 840) | 2 Region-level plots — save_plots_regions_all() | 3 Comparative plots — plot_comparative() and save_plots_comparative_all() | plot_comparative() — single plot, returned as a ggplot object | save_plots_comparative_all() — saves all types for every country | Comparative plot types by flag | Example output — USA, normal vs no-differential fertility