powered by
Function to calculate the confidence interval for the median
div_ci_median(x, conf = 0.95)
numeric, data from which the median is calcualted
numeric, the confidence interval as 1 - P(x < x0)
ci (confidence interval object)
# NOT RUN { x <- 1:100 div_ci_median(x) # }
Run the code above in your browser using DataLab