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