bootClassic | R Documentation |
Simple proportion statistics function for bootstrap estimation
bootClassic(x, params)
x |
A data frame with primary sampling unit (PSU) in column named
|
params |
A vector of column names corresponding to the binary variables
of interest contained in |
A numeric vector of the mean of each binary variable of interest with
length equal to length(params)
# Example call to bootClassic function
sampled_clusters <- boot_bw_sample_clusters(
x = indicatorsHH, w = boot_bw_weight(villageData)
)
boot <- boot_bw_sample_within_clusters(sampled_clusters)
bootClassic(boot, "anc1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.