A mean and confidence interval is plotted by group. The axes are flipped so that groups are displayed on the y-axis, with response on the x-axis. A vertical dashed line shows the overall mean of the data. Colours indicate whether the confidence interval crosses the global mean (blue), or is entirely above it (green) or below it (red).
1 | plot_response(data, order_n = FALSE, response_lim = NULL)
|
data |
Data frame. Output from |
order_n |
Logical. If |
response_lim |
Optional x axis limits passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.