View source: R/stacked.area.chart.R View source: R/graphics_stacked.area.chart.R
stacked.area.chart | R Documentation |
stacked area chart for 2 dimensional frequency tables
stacked.area.chart(
x,
type = "area",
col = NULL,
xpos.text = dim(x)[1] + 0.1,
reorder = FALSE,
labels = TRUE,
main = "",
xlab = "",
ylab = "",
cex = 0.9,
cex.axis = 1,
las = 1,
ylim = NULL
)
x |
2 dimensional frequency table |
col |
color of areas |
xpos.text |
x position of text |
type="area" |
type of grapf ("area" or "line") |
labels=TRUE |
Logicical. If TRUE labels of areas are drawn on the right side of the plot |
reorder=FALSE |
Logical. If TRUE reorders by frequency of y |
xlab="" |
x axis label |
ylab="" |
y axis label |
cex=.9 |
character expansation of area labels |
cex.axis=1 |
character expansation of axis labels |
las=1 |
las for y axis labels |
ylim=c(0 , max(mat) |
limits of x axis |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.