Last chance! 50% off unlimited learning
Sale ends in
survreg(formula=formula(data), data=parent.frame(), weights,
subset,na.action,dist="weibull", init=NULL, scale=0,
control=survreg.control(),parms=NULL,model=FALSE, x=FALSE,
y=TRUE, ...)
lm
and formula
for details.survreg.distributions
. These include
"weibull"
, "expo
survreg.control
.survreg.control
.survreg
is returned.survReg
and
the old one survreg
.survreg.object
, survreg.distributions
,
pspline
, frailty
, ridge
,
survreg.old
data(ovarian)
## These are all the same
survreg(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='weibull',scale=1)
survreg(Surv(futime, fustat) ~ ecog.ps + rx, ovarian,
dist="exponential")
survreg.old(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='extreme',fixed=list(scale=1),link="log")
Run the code above in your browser using DataLab