Add bootstrap weights to PUMF data
add_bootstrap_weights(
pumf_data,
weight_column,
bootstrap_weight_count = 16,
bootstrap_weight_prefix = "BSW",
algorithm = "iterative",
seed = NULL
)
A dataframe with PUMF data
Name of the column with the standard weights
Number of boostrap weights to generate
Name prefix for the bootstrap weight columns
Algorithm to calculate bootstrap weights, either of "iterative" or "experimental"
Random see to be used for bootstrap sample for reproducibility
pumf_base_dir that can be used in the other package functions