survreg(formula = formula(data), data = sys.parent(), subset,
na.action, link = c("log"), dist = c("extreme",
"logistic", "gaussian", "exponential", "rayleigh"),
fixed = list(), control, model = F, x = F, y = T, ...)
# Fit an exponential model
survreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian,
dist = 'extreme', link = 'log',
fixed = list(scale = 1))
# Using survreg.control to supply the control argument
survreg(Surv(days, event) ~ voltage, data = capacitor,
control = survreg.control(maxiter = 40))