powered by
Provides nonparametric confidence intervals via percentile-based resampling.
boot_test(x, y, conf.int, resample, med)
numeric vectors of data values
(optional) confidence level of the interval. Defaults to 0.90
0.90
(optional) number of resamples. Defaults to 10,000
(optional) number indicating true difference in medians to test against. Defaults to zero.
Refer to vignette for further information.
# NOT RUN { require(graphics) a <- rnorm(25, 80, 35) b <- rnorm(25, 100, 50) boot_test(a, b, 0.95, 10000) # }
Run the code above in your browser using DataLab