Another PLotting PACKage for R

designed by H. P. Wolf



The package aplpack (Another PLotting PACKage) contains some 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() constructs a graphical contingency table. The panels of the plot corresponds to the cells of the table. In a panel small icons are drawn and the number of its icons is  defined by the number of the cell. iconplot can be called with a table or a data matrix. In case of a data matrix the contingency table is created internally.

The function puticon() adds icon(s) to the plot of the current plot device; this function can be used to plot a logo in a corner of your plots.

iconplot42.R contains the definition of the function iconplot(), version.42

puticon42.R contains the definition of the function puticon(), version.42

Some examples are found on the help pages of the functions. Note: To be able to use jpeg, png or pmn images as icons the package jpeg, png and tcltk must have be loaded.

iconplot.pdf contains the help page of iconplot

puticon.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:

pic.plot_examples.pdf -- 100 examples showing different features of pic.plot()

pic.plot_examples_demo_file.R -- interactive code of examples of pic.plot_examples.pdf:

grp.plot.R -- experimental function for plotting within the framework of grp.plot39.R (version.39)

pic.plot.poster -- ein Poster zu pic.plot() anlässlich DAGStat 2016 in Göttingen

spin3R for inspection of a 3-dim point cloud

slider  functions for interactive graphics, see: slider

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 l


some bagplots:

bagplot example 2

bagplot example 3

a sloped boxplot

some faces


Faces at (x,y) positions

X-mas faces

iconplot example



  • 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


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


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




Tutorinnen und Tutoren für das Sommersemester 2019 gesucht!


Es werden wieder Tutorinnen und Tutoren für die Veranstaltungen der fachlichen Basis im kommenden Sommersemester gesucht. Die Bewerbungsfrist endet am 18.01.2019.

Ausschreibung für einen Erasmus+-Studienaufenthalt im europäischen Ausland


Möchten Sie einen Blick über den Tellerrand riskieren und dabei wertvolle Erfahrungen sammeln? Dann bewerben Sie sich für einen Studienaufenthalt im Rahmen des Erasmus+-Programms!

FAZ diskutiert aktuelles Working Paper von Hale Utar


Frankfurter Allgemeine Sonntagszeitung berichtete am 2. Dezember

(Tandem-)Fellowship für Innovationen in der digitalen Hochschullehre eingeworben


Dr. Turid Frahnow (LS Data Science) und Prof. Dr. Johannes Voit (LS Musikpädagogik, LiLi Fakultät) erhalten Förderung von bis zu 50.000 Euro für ihr Projekt „Big Data Beauty – Das ästhetische Potenzial großer Zahlen und Algorithmen“

Paper von Prof. Willmann im Wall Street Journal zitiert


Wall Street Journal gibt in seinem gestrigen Newsletter eine Leseempfehlung ab