model_final <- survival::survreg(survival::Surv(futime, fustat) ~ ecog.ps*rx + age,
data = survival::ovarian,
dist = "weibull")
imp <- importance(model_final, survival::ovarian, nperm = 50)
plot(imp)
Run the code above in your browser using DataLab