View source: R/saeplus_addbenchmark.R
saeplus_addbenchmark | R Documentation |
This function is built to take the results of the benchmarked poverty rates and use them to replace the original ebp estimates that were written to an xlsx file using the SAEplus::emdi_writeexcel() or emdi::write.excel() functions
saeplus_addbenchmark( ebp_obj = ginemdi_model2, csv_file = "data/emdi_results2.csv" )
ebp_obj |
an object of class "ebp" |
csv_file |
full file name (including path) where results will be outputted |
bm_obj |
an object of class data.table / data.frame which is the result of benchmarking the poverty rates (usually the output of the function saeplus_calibratepovrate()) |
bm_unitid |
the id variable within the bm_obj object argument |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.