Description Usage Arguments Value
View source: R/general_tools.r
Plots a standard 'mean and error bar figure for levels of a single factor as a line plot. Factors represented as continuous variables must be converted to an actual factor (using as.factor) before use.
1 |
data |
The dataset containing the values to be plotted. |
val |
The column of the dataset representing the values to be averaged. |
factor |
The column representing the grouping factor (categories on the x-axis. |
error |
The type of error value to be calculated. Options are "sd", "se" or "ci". Defaults to "sd". |
A line plot of means and error bars for a single factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.