Create a variable importance plot for a survreg model
Source:R/importance_survreg.R
importance.survreg.Rd
Create a variable importance plot for a survreg model
Usage
# S3 method for survreg
importance(model_final, model_data, dict = NA, nperm = 500, ...)
Arguments
- model_final
a model object
- model_data
the data used to fit the model
- dict
a plotting dictionary for models terms
- nperm
the number of permutations used to calculate the importance
- ...
arguments passed to other methods
Value
an object of type importance_plot
- type
the type of importance plot
- data
the importance data required for the plot