Description Usage Arguments Details
View source: R/plotTimeCourse.R
Make sure y, st.err.mean are not of the same length with 1-2-1 relationship. Also, make sure there is 1-2-1 reationship between 'col' and 'y'. If lists are supplied than, within each list member, make sure 'y', 'st.err.mean' are of the same length with 1-2-1 relationship.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
y |
A named numeric vector of values to be plotted on the Y-axis OR a list of these vectors. Vector names will be plotted on the X-axis. List names will be used when plotting legend (if addLegend is TRUE). Note that x-axis ticks are going to be named after the elements of the vector(s) names. |
st.err.mean |
A numeric vector of standard error of the mean (or other measure of variability) OR a list of these vectors. Defults to 'rep(0,length(y))'. |
length |
A numeric of lengths of the edges of the arrow head (in inches). Defults to 0.1. |
col |
A chracter of the color of line connecting the data points across the time course. If list supplied ensure there is a color assigned to each case. Defults to "red". |
main |
A character of the graph title. Defults to "". |
xlab |
A character of X axis label. Defults to "". |
ylab |
A character of Y axis label. Defults to "". |
type |
A character of type of plot should be drawn. See ?plot for types. |
lty |
A numeric of line type. |
lwd |
A numeric of line width. |
addLegend |
A boolean indicating whether to plot legend. Defults to TRUE. |
legendPosition |
A character of logend position. One of "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right" and "center". Defults to "topright". |
Note that x-axis ticks are going to be named after the elements of the vector(s) names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.