Description Usage Arguments Value
A visualizaiton for logit regressions that calculates Odds Ratios (OR)
1 2 |
out |
a length 2 list univariate and final models: list(screen=several_univariate_models,final=one_multivariate_model). Either screen or final may be set to NULL. Accepts: lm, glm, lmer, glmer |
Pr |
an optional numeric vector of the same length and order as out$screen. If the user wants to specify univariate p-values they may do so here. Otherwise the wald test for the 1st variable in the model will be used. |
fullUnivariate |
visualizes all variables in each univariate model |
intercept |
boolean indicating if the intercept should be visualized. True by default. |
trans |
a character indicating the transformation for the y-axis: log2, log10, sqrt. Refers to the trans parameter of scale_y_continuous. log2 by default. |
col_scheme |
a grDevices::Palettes to specify the color scheme representing -log10(p-values). rainbow(4) by default. |
a list of 2 ggplot2 objects visualizing the univariate screening and multivariate final model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.