na.action, init, control,
ties=c("efron","breslow","exact"),
singular.ok=TRUE, robust=FALSE,
model=FALSE, x=FALSE, y=TRUE, tt, method, ...)
y <- Surv(data2$day,data2$censor==1)
coxmodel <- coxph(y~td+v0+tr1+tr2+tr3,data=data2,method=("breslow"))
#生存分析中,協變量較多的情況下要用breslow的方法,默認是efron,在單變量的情況下efron和breslow的方法沒有區別
summary(coxmodel)
step(coxmodel)