median_cl_boot | R Documentation |
median_cl_boot
computes lower and upper confidence limits for the
estimated median, based on bootstrapping.
median_cl_boot(
x,
conf = 0.95,
type = "basic",
nrepl = 10^3,
round = FALSE,
roundDig = 2
)
x |
Data for computation. |
conf |
confidence interval with default 95%. |
type |
type for function boot.ci. |
nrepl |
number of bootstrap replications, defaults to 1000. |
round |
logical, applies roundR function to results. Output is character. |
roundDig |
number of relevant digits for function roundR. |
A tibble with one row and three columns: Median, CIlow, CIhigh.
# basic usage of median_cl_boot
median_cl_boot(x = mtcars$wt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.