R/surv.exp.gt.model.R

Defines functions surv.exp.gt.model

Documented in surv.exp.gt.model

surv.exp.gt.model <- function(pilm,lm,gtprev,GRR,zmodel,interval)
  {
    ww=GRR^zmodel
    foo=function(lam0) {
        ww=-lam0*ww*lm
        pilm-sum(exp(ww)%*%gtprev)
    }
    ww*uniroot(foo,interval)$root
  }

Try the survSNP package in your browser

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

survSNP documentation built on Feb. 16, 2023, 10:10 p.m.