Description Usage Arguments Author(s) References
View source: R/ffp_opt_sodis_val.R
After solving for optimal allocating queue, at each Q point, which corresponds to different level of aggregate resources available, show the value given optimal choices this is an array of values, at each Q point. Potentially output for all Q. Or only show this for all queue points up to the actual resource limit, D_Wbin_il = 1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ffp_opt_sodis_value(
fl_rho,
df_queue_il,
bl_return_allQ_V = FALSE,
bl_return_inner_V = FALSE,
svr_id_i = "id_i",
svr_id_il = "id_il",
svr_D_il = "D_il",
svr_inpalc = "Q_il",
svr_D_Wbin_il = "D_Wbin_il",
svr_A_il = "A_il",
svr_alpha_il = "alpha_il",
svr_beta_i = "beta_i",
svr_measure_i = NA,
svr_V_cumu_l = "V_sum_l",
svr_V_inner_Q_il = "V_inner_Q_il",
svr_V_star_Q_il = "V_star_Q_il"
)
|
bl_return_allQ_V |
boolean if true returns value along the entire allocation queue including queue segments after resource limits. This is more time consuming when set to true. |
svr_beta_i |
string variable name for planner bias |
svr_measure_i |
string variable name for mass for this type of recipient, default NA mass of recipient is the measure of recipient of this type in the population. This measure does not impact relative ranking optimal allocation across types, but determines how much to push individual types further along the allocation queue back. this should be 'mass_i', representing the measure of individuals in this group |
Fan Wang, http://fanwangecon.github.io
https://fanwangecon.github.io/PrjOptiAlloc/reference/ffp_opt_sodis_value.html https://fanwangecon.github.io/PrjOptiAlloc/articles/ffv_opt_sodis_rkone_casch_allrw.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.