powered by
median_cl_boot computes lower and upper confidence limits for the estimated median, based on bootstrapping.
median_cl_boot
median_cl_boot(x, conf = 0.95, type = "basic", nrepl = 10^3)
A tibble with one row and three columns: Median, CIlow, CIhigh.
Data for computation.
confidence interval with default 95%.
type for function boot.ci.
number of bootstrap replications, defaults to 1000.
# basic usage of median_cl_boot median_cl_boot(x = mtcars$wt)
Run the code above in your browser using DataLab