Guest User

Untitled

a guest
Dec 18th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. formula.Barlow = formula(paste("Surv(t_0,t, case) ~ ",paste(co.vars.names, collapse = " + "), " + cluster(id)", sep = ""))
  2.  
  3. fit.barlow = coxph(formula=formula.Barlow, weights=weights, data=tmp)
  4.  
  5. return(fit.barlow)
Add Comment
Please, Sign In to add comment