bar_charter
1 | bar_charter(tab, var_title, doublebar = FALSE, dual_labels = NULL)
|
tab |
table from twv_single or twv_mult function |
var_title |
The title of the plot, an example would be "Blood Pressure" |
doublebar |
This is an indication that there will be dual bars, and that the table needs to be reformatted to a long version |
dual_labels |
c("label1","label2") where these are the names for the legend This makes bar charts for each risk value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.