Description Usage Arguments Value Examples
A wrapper function for bootBW
in bbw
package that applies the
blocked weighted bootstrap to an indicators data frame with multiple
stratifications.
1 | estimate_indicators(steer, indicators, pop, statistic, replicates = 399)
|
steer |
A data frame containing information on the various indicators to be analysed |
indicators |
A data frame containing indicators data |
pop |
A data frame containing population data for each primary sampling unit (PSU) |
statistic |
A character value specifying the name of the statistic to
apply on the data on bootstrap. Two statistics are available for use via
|
replicates |
A numeric value of the number of replicates in performing blocked weighted bootstrap. Default is 399. Accepted values greater than or equal to 399 |
A data frame of boostrapped results
1 2 3 4 5 6 | #
estimate_indicators(steer = steerIndicators[steerIndicators$varList == "jmpWater4", ],
indicators = washdata::indicatorsDataBGD,
pop = washdata::popBGD,
statistic = "bootClassic",
replicates = 9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.