Visualizing Risk Prediction Models

This is a package to visualize risk prediction models. For each predictor, a color bar represents the contribution to the linear predictor or latent variable. A conversion from the linear predictor to the estimated risk or survival is also given. (Cumulative) contribution charts enable to visualize how the estimated risk for one particular observation is obtained by the model. Several options allow to choose different color maps, and to select the zero level of the contributions. The package is able to deal with 'glm', 'coxph', 'mfp', 'multinom' and 'ksvm' objects. For 'ksvm' objects, the visualization is not always exact. Functions providing tools to indicate the accuracy of the approximation are provided in addition to the visualization.


1.1 o modifications to include multinomial logistic regression models: multinom objects. o modifications to include support vector machines. 1.0 o initial version: including glm, coxph and mpf objects

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2 by Vanya Van Belle, 2 months ago

Browse source code at

Authors: Vanya Van Belle

Documentation:   PDF Manual  

GPL-3 license

Imports Hmisc, survival, fields, R2HTML, viridis, kernlab, ROCR, ggplot2, shiny, methods, stats, grDevices, graphics, utils

Suggests mfp, VGAMdata, nnet

See at CRAN