View source: R/ffp_snw_welfarechecks_graph.R
Given optimal allocaiton results generated by
ffp_snw_process_inputs
, visualize to provide allocation
graphs for testing and understanding what the allocation results across
income, kids, marital bins are. Graphs included in the final paper for
Nygaard, Sorensen, and Wang (2021) are generated using similar code, but
not directly by these code.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ffp_snw_graph_feasible(
ar_rho,
df_input_il_noninc_covar,
df_alloc_i_long_covar_c,
df_alloc_i_long_covar_v,
ls_st_gen_imgs = c("mass", "mc", "checks_c", "mv", "mlogc", "checks_v", "checks_cjv"),
ls_st_save_imgs = c("mass", "mc", "checks_c", "mv", "mlogc", "checks_v",
"checks_cjv"),
st_file_type = "",
slb_add_title = "",
stg_subtitle = "",
stg_caption = "",
bl_no_title_caption = TRUE,
bl_optimal_with_age_groups = FALSE,
st_img_suffix = "",
bl_save_img = FALSE,
it_img_width = 270,
it_img_height = 216,
st_img_units = "mm",
it_img_res = 300,
it_img_pointsize = 7,
it_kids_ct = 5,
spt_img_save = "C:/Users/fan/Documents/Dropbox (UH-ECON)/PrjNygaardSorensenWang/Results/2020-07-29/Graphs/"
)
|
Fan Wang, http://fanwangecon.github.io
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.