R/cumallcausehr.R

Defines functions cumallcausehr

cumallcausehr <- function(entry, exit, all.bhr, eta.ij, x.i, pme){
  result <- integrate(allcausehr, lower = entry, upper = exit, all.bhr = all.bhr,
                      eta.ij = eta.ij, x.i = x.i, pme = pme, subdivisions = 10000)
  return(result$value)}

Try the simMSM package in your browser

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

simMSM documentation built on May 6, 2022, 9:05 a.m.