Function reference
-
CEQ_run()CEQ_run_example() - Run the Shiny Application
-
CEQ_ui() - The application User-Interface
-
agg_by_deciles() - aggregate cariables of a single simulaiton by decile
-
calc_agg_by() - Aggregates all relevant CEQ results by variable.
-
calc_deciles() - Calculate N qualtiles of a variables from the CEQ results
-
calc_gini() - Compute Gini coefficient from a numeric vector
-
calc_pov_fgt() - Compute Theil index from a numeric vector
-
calc_theil() - Compute Theil index from a numeric vector
-
create_microsim() - Create a microsimulation app's folder
-
flextable_config() - Configurate a flextable
-
gen_ceq_ui() - Generate a local CEQ UI function
-
gen_one_inp_table() - Generate a table with inputs instead of inputs with lables
-
gen_tabinp_ui_front() - Generates a function based on `gen_tabinp_ui` for generating tabs UI
-
get_all_inps() - Return all inputs from the raw inputs structure
-
get_diffdf_sum()mydiff()get_MAD()compare_two() - Summarise the `diffdf::diffdf` results in a compact table
-
get_dta_gini() - Calculate Gini index for all market concepts for a single simulation
-
get_dta_pov() - Calculate poverty for a single simulation at the national poverty line
-
load_input_xlsx()inp_str_test()gen_inp_str_front()gen_inp_str()test_gen_inp_front_simple()test_gen_inp_front_tabs()test_gen_inp_front_tabs_file()load_inputtabs_xlsx()load_inputtables_xlsx() - Loads the input structure data into R from an Excel file.
-
make_get_inp_fn() - Return a function that extracts inputs frmo the inputs list do not returning NAs
-
mod_generic_run_sim_server()make_run_sim_server()add_missing_inp_generic()ceq_sim_generic()ceq_pre_postsim_generic() - User-side functional for customizing the run-sim server with own functions
-
make_tax_brackets() - Create a data frame with the tax brakes
-
match_tax_brackets() - Apply tax brackets to the data and impute new tax variable
-
microsim_dta - Exemplary microsimulation results data
-
mod_ceq_progress()fct_make_ceq_progress()fct_big_step_ceq_progress()fct_samll_step_ceq_progress()fct_close_ceq_progress() - CEQ progress module that initializes the progress object
-
mod_generic_run_postsim_server() - Generic post-simulation runner server
-
mod_inp_n_choices_server()mod_inp_n_choices_ui()make_n_choice_ui()get_n_policy_types()update_n_choice_ui()test_mod_inp_n_choices()test_mod_inp_n_choices_all_ui() - (internal) Sub-module for the policy number inputs
-
mod_inputs_btns_server()test_mod_inputs_btn()test_mod_inputs_btn_static_ui()mod_inputs_btns_ui() - (internal) Module with buttons logic for the input page
-
mod_render_inp_tabs_srv() - Module for generating and re-generating inputs UI on the server
-
test_mod_run_sim() - Simple app for testing module `mod_generic_run_sim_server` with the user-defined logic
-
test_results_mod() - Tests a simple results page module providing it with the sim_res
-
validate_result() - helper for validating outputs
-
wb_cols()wb_paletteswb_pal()scale_color_wb()scale_fill_wb() - Function to extract wb colors as hex codes