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.




movement - Mentoring für promovierte Wissenschaftlerinnen - Neuer Programmdurchlauf


Infoveranstaltung am 22.05. um 11 Uhr s.t. im Raum C2-136 (UHG)

Vortrag im Kolloquium des ZeSt


Am 28.05.2019 trägt Peter Pütz von der Georg-August-Universität Göttingen zum Thema "The (non-)significance of reporting errors in economics: Evidence from three top journals" im Rahmen des Kolloquiums des Zentrums für Statistik vor.

Bewerbung um Aufnahme in die Studienstiftung des deutschen Volkes


Die Studienstiftung des deutschen Volkes bittet um die Nominierung der besten Studierenden, die sich im SoSe 2019 im 3. oder 4. Fachsemester befinden. (Gesamnote "sehr gut")....

Prof. em. Dr. Siegfried Katterle verstorben


Die Fakultät für Wirtschaftswissenschaften trauert um Prof. em. Dr. Siegfried Katterle.