View source: R/sim_tot_from_est.R
sim_tot_from_est | R Documentation |
The sim_tot_from_est() function to simulate totals from pre-existing estimates
sim_tot_from_est(df_or_list_est_tot, type_strata, lgl_rej_neg_sim = TRUE)
df_or_list_est_tot |
a single data.frame of estimated joint totals or list of data.frames of estimated marginal totals (and respective standard errors) |
type_strata |
specify if joint (requires a data.frame) or marginal requires a list |
lgl_rej_neg_sim |
a logical whether to reject negative simulations |
1 simulation of either joint totals in a data.frame or marginal totals in a list of data.frames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.