survreg.old(formula, data=sys.frame(sys.parent()), ..., link=c("log", "identity"), dist=c("extreme", "logistic", "gaussian", "exponential"), fixed)
lm
formula
survreg
glm
data(ovarian) survreg.old(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='extreme', link='log', fixed=list(scale=1)) #Fit an exponential
Run the code above in your browser using DataCamp Workspace