R/w.cure.R

Defines functions w.cure

w.cure <- function(pi, delta, surv){
  delta + (1-delta) * logit.inv( log(surv) + logit(pi) )
#   delta + (1-delta) * pi * surv / (1 - pi + pi * surv)
}

Try the rcure package in your browser

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

rcure documentation built on May 29, 2017, 8:46 p.m.