R/sigCor.R

Defines functions sigCor

#' @importFrom stats qt
sigCor <- function(p = 0.05,
                   n = 50,
                   tail = 2) {
  t <- qt((p / tail), n - 2)
  t / (sqrt((n - tail) + t^2))
}

Try the xRing package in your browser

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

xRing documentation built on April 22, 2022, 5:05 p.m.