R/mylogit.R

Defines functions mylogit

mylogit <- function(x){
  x[x==0] = 0.0001
  x[x==1] = 0.999
  log(x/(1-x))
}
haowulab/TRESS documentation built on Aug. 27, 2022, 7:11 p.m.