powered by
Make multivariable regression model by selecting univariable models with p.value below threshold
survreg2multi(fit, threshold = 0.2)
An object of class "survreg"
Numeric
require(survival) data(cancer) fit=survreg(Surv(time,status)~rx+age+sex+obstruct+perfor,data=colon) survreg2multi(fit)
Run the code above in your browser using DataLab