ggcontribute | R Documentation |
ggcontribute plots the contribution of each variable to the model
ggcontribute(x1, x2 = NULL, option_flag = c("chi2", "percent"))
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.