R/open01.R

open01 <- function (p, B) {
  ## map pvalue to open interval (0, 1)
  (p + 1/(2*B))/(1 + 1/B)
}

Try the NPC package in your browser

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

NPC documentation built on May 2, 2019, 5:07 a.m.