smcure | R Documentation |
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 )
formula |
a formula object |
cureform |
specifies the variables in the incidence |
offset |
variable(s) with coefficient 1 in PH model or AFT model |
data |
a data.frame in which to interpret the variables named in the formula and cureform |
na.action |
a missing-data filter function. By default na.action = na.omit |
model |
specifies your model ph or aft |
link |
incidence part |
Var |
By default Var = TRUE |
emmax |
maximum iteration number |
eps |
convergence criterion |
nboot |
number of bootstrap sampling |
a smcure object
data(e1684) pd <- smcure(Surv(FAILTIME,FAILCENS)~TRT+SEX+AGE, cureform=~TRT+SEX+AGE,data=e1684,model="ph", Var = FALSE) printsmcure(pd,Var = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.