powered by
Title
smcure( formula, cureform, offset = NULL, data, na.action = na.omit, model = c("aft", "ph"), link = "logit", Var = TRUE, emmax = 50, eps = 1e-07, nboot = 100 )
a formula object
specifies the variables in the incidence
variable(s) with coefficient 1 in PH model or AFT model
a data.frame in which to interpret the variables named in the formula and cureform
a missing-data filter function. By default na.action = na.omit
specifies your model ph or aft
incidence part
By default Var = TRUE
maximum iteration number
convergence criterion
number of bootstrap sampling
a smcure object
# NOT RUN { data(e1684) pd <- smcure(Surv(FAILTIME,FAILCENS)~TRT+SEX+AGE, cureform=~TRT+SEX+AGE,data=e1684,model="ph", Var = FALSE) printsmcure(pd,Var = FALSE) # }
Run the code above in your browser using DataLab