R/null.ci.R

Defines functions null.ci

Documented in null.ci

null.ci <- function(x, level = 0.95, null.value = 0, type = 8, ...) 
{
  q <- mean(x <= null.value) * (1 - level)
  quantile(x, c(q, q + level), type = type, ...)
}

Try the meboot package in your browser

Any scripts or data that you put into this service are public.

meboot documentation built on Aug. 23, 2023, 1:07 a.m.