plot_choc | R Documentation |
plot_choc Plot the result of choc analysis
plot_choc( mychoc, ivar = c(1, 2), palette = c("green", "palegreen1", "pink1", "red") )
mychoc |
a list returned by |
ivar |
the two variables that should be plotted |
palette |
a color palette (4 colors, could be hexadecimal or names) |
a ggplot object
red means that there is a significant decrease of occurence of the association, pale red stands for non significant trend pale green for non significant positive trend and green for significant positive trend
#example of results provided by estimate_confidence data(res_confid) g<-plot_choc(res_confid) print(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.