Skip to contents

Inspect reference data

Functions to get an overview of the available reference data.

get_disease_filenames()
Get disease filenames
get_disease_names()
Get disease directory names
get_population_filenames()
Get population filenames
get_population_names()
Get population directory names
get_risk_factor_filenames()
Get risk factor filenames
get_risk_factor_names()
Get risk factor directory names
get_simulation_names()
Get simulation directory names

Configuration

Functions for configuring DYNAMO-HIA simulations.

configure_disease()
Configure a disease
configure_relative_risk()
Configure a relative risk
configure_risk_factor()
Configure a risk factor
configure_scenario()
Configure a scenario
create_simulation_dir()
Create a simulation directory with configuration file

Run DYNAMO-HIA from R

Run one or multiple simulations using the DYNAMO-HIA Java program.

run_dynamo_hia()
Run the DYNAMO-HIA simulation
download_github_release()
Download and extract GitHub release asset

Load simulation results

Load the results of a DYNAMO-HIA simulation.

load_simulation_results()
Load results from DYNAMO-HIA simulation

Plotting

Functions for plotting DYNAMO-HIA results.

plot_incidence()
Plot Disease Incidence Rates
plot_life_expectancy()
Plot Life Expectancy Across Scenarios and Gender
plot_mortality()
Plot Mortality Rates
plot_population_pyramid()
Create a Population Pyramid Visualization
plot_prevalence()
Plot Disease Prevalence Rates
plot_risk_factor()
Plot Risk Factor Prevalence Rates

Run DYNAMO-HIA interactively

Launch the Shiny app to run DYNAMO-HIA interactively.

launch_application()
Starts the R shiny app to define the settings and then run the HIA Java app.

Create reference data

Functions to create reference data for DYNAMO-HIA.

write_disease_dir()
Write XML files for a disease to a directory
write_population_dir()
Write XML files for a population to a directory
write_risk_factor_dir()
Write XML files for a risk factor to a directory