Skip to contents

Functions

add_age_years()
Add Single-Year Ages to a Population
add_ages_to_agents()
Add Age Variables to Synthetic Agents
add_recoded_age()
Recode Age Variables into Alternative Age Classifications
calculate_age_range_from_gap()
Calculate an Age Range from an Age-Gap Specification
calculate_fractions()
Calculate Conditional Fractions from a Contingency Table
calculate_group_counts()
Convert Fractions into Integer Agent Counts
create_household_with_id()
Create a Household Record and Assign a Household Identifier
calculate_z_squared_score()
Calculate a Z-Squared Goodness-of-Fit Statistic
get_margin_frames_from_synthetic_population()
Generate Multiple Margin Tables from a Synthetic Population
get_margin_series_from_synthetic_population()
Extract a Margin Distribution from a Synthetic Population
make_age_sex_by_region()
Create Age-Sex Population Counts by Region
make_agents()
Create Synthetic Agents From Aggregate Counts
make_areas_lookup()
Create Geographic Lookup Tables
make_avertable_summary()
Calculate Avertable Burden Estimates
make_burden_lookup()
Create a Burden-of-Disease Lookup Table
make_disorder_contingency_ls()
Create Mental Disorder Contingency Tables
make_disorders_tb()
Prepare Mental Disorder Prevalence Data
make_matched_contingency()
Create a Matched Contingency Table
make_scaling_dt()
Create Scaling Multipliers
make_severity_contingency()
Create Mental Health Severity Contingency Table
make_summary_of_agents()
Summarise Burden Across Agent Groups
make_urbanicity_lookup()
Create Urbanicity Lookup Table
make_validation_line()
Summarise Validation Results
plot_validation_differences()
Plot percentage-point differences
plot_validation_distributions()
Plot observed and expected distributions
plot_validation_heatmap()
Plot validation heatmap
transform_health_values()
Recode Health Classification Values
transform_spatial_data()
Transform Spatial Data
transform_table_type()
Convert Between Table Types
transform_to_age_gap()
Parse an Age-Gap Specification
transform_to_age_group()
Convert an Integer Age to an Age Group
transform_to_combinations()
Convert Multiple Columns to Attribute Combinations
transform_to_contingency()
Convert a Synthetic Population to a Contingency Table
transform_with_lists()
Apply Common Table Transformations
update_contingency_table()
Prepare a Contingency Table for Attribute Assignment
update_to_scale_contingency()
Apply Scaling Multipliers to a Contingency Table
validate_synthetic_population_fit()
Validate the Fit of a Synthetic Population

S4 Classes

ReplicaAdder()
Create a ReplicaAdder Module
ReplicaAdder-class
Replica Attribute Assignment Module
ReplicaGrouper()
Create a ReplicaGrouper Object
ReplicaGrouper-class
ReplicaGrouper Class
ReplicaStructure()
Create a ReplicaStructure Object
ReplicaStructure-class
ReplicaStructure Class

Methods