oddsratio | R Documentation |
Function for Odds Ratio Table and Plot.
oddsratio(data, explanatory, outcome, showNomogram = FALSE)
data |
The data as a data frame. |
explanatory |
The explanatory variables to be used in the analysis. |
outcome |
The outcome variable to be used in the analysis. |
showNomogram |
Display an interactive nomogram for converting pre-test to post-test probabilities using likelihood ratios calculated from the data. |
A results object containing:
results$todo | a html | ||||
results$text | a html | ||||
results$text2 | a html | ||||
results$plot | an image | ||||
results$nomogram | a html | ||||
results$mydataview_nomogram | a preformatted | ||||
results$plot_nomogram | an image | ||||
# example will be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.