Description Usage Arguments Examples
View source: R/plot.err.time.R
Calculates the mean value for each group and time point. Adds error bars, showing +/- standard error (default) or standard deviation. Data is plotted with dots and lines.
1 2 3 4 5 6 |
data |
a numeric vector containing the data to plot. |
time |
a vector containing the time point information for data. |
groups |
vector containing the group information for data. |
col |
vector defining the color for each group. Must have the same length as number of groups. |
dodge |
adds a dodge to the x-axis position of the groups. |
cex |
defines the size of the dots. |
length |
defines the length of the arrow heads of the error bars |
xaxt |
if TRUE (default) an x-axis is added to the plot. |
legend.pos |
defines the legend position. Must be "topleft", "topright", "bottomleft" or "bottomright". If legend != TRUE, no legend will be drawn. |
stats |
adds markers for significant differences (ANOVA, for the respective timepoint) to the bottom of the plot. |
err |
error bars show standard error ("sterr") or standard deviation ("sd"). |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.