fit2multi | R Documentation |
Make multivariable regression model by selecting univariable models with p.value below threshold
fit2multi(fit, threshold = 0.2)
fit |
An object of class "coxph" |
threshold |
Numeric |
An object of class "coxph"
require(survival)
data(cancer)
fit=coxph(Surv(time,status)~age+sex+obstruct+perfor,data=colon)
fit2multi(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.