stacked.area.chart: stacked area chart

View source: R/stacked.area.chart.R View source: R/graphics_stacked.area.chart.R

stacked.area.chartR Documentation

stacked area chart

Description

stacked area chart for 2 dimensional frequency tables

Usage

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
)

Arguments

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


ingmarboeschen/graphing documentation built on Jan. 14, 2025, 7:32 a.m.