# Explainable Machine Learning in Survival Analysis

## Documentation for package ‘survex’ version 1.2.0

- DESCRIPTION file.
- Package NEWS.

## Help Pages

brier_score | Calculate Brier score
cd_auc | Calculate Cumulative/Dynamic AUC
cumulative_hazard_to_survival | Transform Cumulative Hazard to Survival
c_index | Compute the Harrell's Concordance index
explain | A model-agnostic explainer for survival models
explain.default | A model-agnostic explainer for survival models
explain_survival | A model-agnostic explainer for survival models
extract_predict_survshap | Extract Local SurvSHAP(t) from Global SurvSHAP(t)
integrated_brier_score | Calculate integrated Brier score
integrated_cd_auc | Calculate integrated C/D AUC
loss_adapt_mlr3proba | Adapt mlr3proba measures for use with survex
loss_brier_score | Calculate Brier score
loss_integrate | Calculate integrated metrics based on time-dependent metrics.
loss_integrated_brier_score | Calculate integrated Brier score
loss_one_minus_cd_auc | Calculate Cumulative/Dynamic AUC loss
loss_one_minus_c_index | Calculate the Concordance index loss
loss_one_minus_integrated_cd_auc | Calculate integrated C/D AUC loss
model_diagnostics | Dataset Level Model Diagnostics
model_diagnostics.surv_explainer | Dataset Level Model Diagnostics
model_parts | Dataset Level Variable Importance for Survival Models
model_parts.surv_explainer | Dataset Level Variable Importance for Survival Models
model_performance | Dataset Level Performance Measures
model_performance.surv_explainer | Dataset Level Performance Measures
model_profile | Dataset Level Variable Profile as Partial Dependence Explanations for Survival Models
model_profile.surv_explainer | Dataset Level Variable Profile as Partial Dependence Explanations for Survival Models
model_profile_2d | Dataset Level 2-Dimensional Variable Profile for Survival Models
model_profile_2d.surv_explainer | Dataset Level 2-Dimensional Variable Profile for Survival Models
model_survshap | Global SHAP Values
model_survshap.surv_explainer | Global SHAP Values
plot.aggregated_surv_shap | Plot Aggregated SurvSHAP(t) Explanations for Survival Models
plot.model_diagnostics_survival | Plot Model Diagnostics for Survival Models
plot.model_parts_survival | Plot Model Parts for Survival Models
plot.model_performance_survival | Plot Model Performance for Survival Models
plot.model_profile_2d_survival | Plot 2-Dimensional Model Profile for Survival Models
plot.model_profile_survival | Plot Model Profile for Survival Models
plot.predict_parts_survival | Plot Predict Parts for Survival Models
plot.predict_profile_survival | Plot Predict Profile for Survival Models
plot.surv_feature_importance | Plot Permutational Feature Importance for Survival Models
plot.surv_lime | Plot SurvLIME Explanations for Survival Models
plot.surv_model_performance | Plot Model Performance Metrics for Survival Models
plot.surv_model_performance_rocs | Plot ROC Curves for Survival Models
plot.surv_shap | Plot SurvSHAP(t) Explanations for Survival Models
predict.surv_explainer | Model Predictions for Survival Models
predict_parts | Instance Level Parts of Survival Model Predictions
predict_parts.surv_explainer | Instance Level Parts of Survival Model Predictions
predict_profile | Instance Level Profile as Ceteris Paribus for Survival Models
predict_profile.surv_explainer | Instance Level Profile as Ceteris Paribus for Survival Models
risk_from_chf | Generate Risk Prediction based on the Survival Function
set_theme_survex | Default Theme for survex plots
survival_to_cumulative_hazard | Transform Survival to Cumulative Hazard
surv_model_info | Extract additional information from the model
surv_model_info.coxph | Extract additional information from the model
surv_model_info.cph | Extract additional information from the model
surv_model_info.default | Extract additional information from the model
surv_model_info.flexsurvreg | Extract additional information from the model
surv_model_info.LearnerSurv | Extract additional information from the model
surv_model_info.model_fit | Extract additional information from the model
surv_model_info.ranger | Extract additional information from the model
surv_model_info.rfsrc | Extract additional information from the model
surv_model_info.sksurv | Extract additional information from the model
theme_default_survex | Default Theme for survex plots
theme_vertical_default_survex | Default Theme for survex plots
transform_to_stepfunction | Transform Fixed Point Prediction into a Stepfunction