powered by
survreg.old(formula, data=sys.frame(sys.parent()), ..., link=c("log", "identity"),dist=c("extreme", "logistic", "gaussian", "exponential","rayleigh","weibull"), fixed=list())
lm
formula
survreg
glm
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 DataLab