ggcontribute: The Contribution plot

View source: R/rap.R

ggcontributeR Documentation

The Contribution plot

Description

ggcontribute plots the contribution of each variable to the model

Usage

ggcontribute(x1, x2 = NULL, option_flag = c("chi2", "percent"))

Arguments

x1

Either a logistic regression fitted using glm (base package) or lrm (rms package) of the baseline model.

x2

Either a logistic regression fitted using glm (base package) or lrm (rms package) of the new (alternative) model.

option_flag

A flag to choose if the relative percentage of the Chi2-degrees of freedom are plotted.


JohnPickering/risk-assessment-plot-package documentation built on July 3, 2023, 8:41 a.m.