zum Hauptinhalt wechseln zum Hauptmenü wechseln zum Fußbereich wechseln Universität Bielefeld Play Search

APLPACK

Die elegante Leichtigkeit starker Lösungen

APLPACK

Another PLotting PACKage for R

designed by H. P. Wolf

 

 

Description

The package aplpack (Another PLotting PACKage) contains a set of functions for drawing special plots:

  • stem.leaf() plots stem-and-leaf displays
  • bagplot() plots bagplots
  • boxplot2D() plots boxplots into a scatterplot
  • faces() plots chernoff faces
  • iconplot() plots graphical contingency tables. The panels of an iconplot represents the cells of the table. In each of panels small icons are drawn and the numbers of icons are defined by the entries of the cells. iconplot() can be called with a table or a data matrix.
  • puticon(): This function adds some icon(s) to the current plot; as an example this function can be used to plot a logo in a corner of a plot.
    • old versions:
      • iconplot42.R contains the definition of the function iconplot(), version.42
      • puticon42.R contains the definition of the function puticon(), version.42
    • new versions:
      • iconplot43.R contains the definition of the function iconplot(), version.43
      • puticon43b.R contains the definition of the function puticon(), version.43b
    • Note: Some examples are found on the help pages of the functions. For using jpeg, png or pmn images as icons the package jpeg, png and tcltk have be loaded.
    • iconplot42.pdf contains the help page of iconplot()
    • puticon42.pdf contains the help page of iconplot()
    • A file containing examples is under construction. An older version of iconplot() was called pic.plot(). To get an idea of the varity of plots which can be generated by iconplot have a look into:
    • old version:
    • new version:
    • etc.
  • spin3R() for inspection of a 3-dim point cloud

slider functions for interactive graphics, see: sliderfns.pdf:

  • slider(), slider.bootstrap.lm.plot(), slider.brush.pairs(), slider.brush.plot.xy(), slider.density(), slider.hist(), slider.lowess.plot(), slider.present.density(), slider.show.density(), slider.show.norm(), slider.show.normal.density(), slider.smooth.plot.ts(), slider.split.plot.ts (), slider.trimmed.mean(), slider.trimmed.mean.plus(), slider.trimmed.mean.simple slider.xyz(), slider.zoom.plot.ts()

example: sampling some points and fitting a polynomial function

Snapshots of some bagplots

bagplot example 1 p2005-Sep16-114536.jpg

bagplot example 2 p2005-Sep16-114606.jpg

bagplot example 3 p2005-Sep21-130946.jpg

a sloped boxplot

some faces

faces at positions (x_i,y_i)

X-mas faces: p2008-Dec22-152042.jpg

iconplot_examples.pdf

Installation

Installation for windows:

  • aplpack_1.3.2.zip contains the newest version of aplpack. The .zip file has to be extracted into your R library -- for example:
    • .../R-3.*.*/library/.

Installation for linux :

  • aplpack_1.3.2.tar.gz contains the newest version of aplpack.
  • This .gz file has to be installed by
    • R CMD INSTALL

License

aplpack is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. aplpack is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License is available via WWW at http://www.gnu.org/copyleft/gpl.html

Acknowledgements

Thanks to Wouter Meuleman and John Fox for their remarks and improvements.

Zum Seitenanfang