Description Usage Arguments Value Note See Also Examples
Plots input data as a stack of plots.
1 2 3 4 5 6 | stackPlot(x, y = NULL, xlty = NULL, bty = "n", lty = 1, col = 1:8,
lwd = 1, rescale = TRUE, add = FALSE, cex = 1, xaxs = "r", xpd = TRUE, yaxis = list(add = TRUE, ndigit = 3,
col = 1:8, lty = 1, lwd = 3, side = "left", cex = 1),
xlab = list(text = "", cex = 1, srt = 0, col = 1), ylab = list(text = NULL,
cex = 1, srt = 0, col = 1:8, side = "right"), main = list(text = "",
cex = 1, srt = 0, col = 1, adj = 0.5), ylim = NULL)
|
x |
a vector of numeric values corresponding to a common abscissa (x-axis) for all ordinate (y-axis) values. |
y |
a numeric vector, matrix, data.frame, or rectangular list containing the ordinate (y-axis) values. |
add |
a logical value. If |
bty |
a character string defining the box type (ala |
cex |
a numeric value defining the character expansion for the plot labels (ala |
col |
an integer or vector of integers denoting the color of each
plotted series (ala |
lty |
the line type for each plot (ala |
lwd |
an integer or vector of integers denoting the line width of each
plotted series (ala |
main |
the main label as defined by a list of the following named objects:
If a partial list of the above named objects is supplied, those objects are merged with the default list defined above. |
rescale |
a logical value. If |
xaxs |
a character string defining the style of the x-axis
interval calculation (ala |
xlab |
the x-axis label as defined by a list of the following named objects:
If a partial list of the above named objects is supplied, those objects are merged with the default list defined above. |
xlty |
the line type (ala |
xpd |
a character string defining the style of the plot clipping
(ala |
yaxis |
the y-axis style as defined by a list of the following named objects:
If a partial list of the above named objects is supplied, those objects are merged with the default list defined above. |
ylab |
the y-axis label(s) as defined by a list of the following named objects:
If a partial list of the above named objects is supplied, those objects are merged with the default list defined above. |
ylim |
a two-element numeric vector containing the y-axis range of each series
to plot. The range of the specified |
no output.
A stack plot is produced.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.