R/link.R

Defines functions link

Documented in link

link <- function(x, type = c("cloglog", "log", "logit", "probit")){
  
  switch(type,
    cloglog = log(-log(1 - x)),
    log = log(x),
    logit = qlogis(x),
	  probit = qnorm(x)
  )
  
}

Try the aods3 package in your browser

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

aods3 documentation built on July 8, 2022, 5:06 p.m.