plot: Plot objects of class 'sparkline', 'sparkbar', 'sparkhist' or...

Description Usage Arguments Author(s) Examples

Description

Function that calls plot-methods for objects of class 'sparkline', 'sparkbar', 'sparkhist' or 'sparkbox'.

Usage

1
  plot(x, y, ...)

Arguments

x

an object of class 'sparkline', 'sparkbox' or 'sparkbar'.

y

not used, only for compatibility.

...

additional parameters passed. Currently possible values:

  • padding: numeric vector of length 4 containing positive values. These are internally rescaled and appropriate margins are added to the resulting plots.

Author(s)

Bernhard Meindl, Alexander Kowarik, Statistics Austria

Examples

1
2
3
4
  data(pop)
  x <- pop[pop[,2]=="Insgesamt",3]
  a <- newSparkLine(values=x, pointWidth=8)
  plot(a)

alexkowa/sparkTable documentation built on May 12, 2019, 12:29 a.m.