# Example call to bootBW function:
sampled_clusters <- boot_bw_sample_clusters(
x = indicatorsCH1, w = boot_bw_weight(villageData)
)
boot <- boot_bw_sample_within_clusters(sampled_clusters)
bootPROBIT(x = boot,
params = "muac1",
threshold = 115)
Run the code above in your browser using DataLab