Description Usage Arguments Examples
This function plots the bootstrap distribution
1 2 |
x |
Object of class |
... |
Extra arguments. Use |
1 2 3 4 5 6 7 8 9 10 11 12 13 | x <- bmbstats(iris,
SESOI_lower_function = function(data, na.rm, init_boot) {
sd(data$Sepal.Length) * -0.2
},
SESOI_upper_function = function(data, na.rm, init_boot) {
sd(data$Sepal.Length) * 0.2
},
estimator_function = function(data, SESOI_lower, SESOI_upper, na.rm, init_boot) {
list(mean = mean(data$Sepal.Length), SESOI_lower = SESOI_lower, SESOI_upper = SESOI_upper)
},
control = model_control(boot_type = "perc", boot_samples = 50)
)
plot(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.