adegraphics-package: Graphical objects for ade4 functions (and more)

Description Details Author(s) References See Also Examples


This package was created to replace graphics functionalities of the ade4 package and to offer customizable representations of data and result analysis.

Graphics are objects of S4 class, which can be displayed but also stored for latter modifications. Those modifications can be graphical changes, but also superposition or juxtaposition of various graphical objects (creating an other type of object). Each object will contain graphical parameters and instructions for the display (calls, positions, etc.) and the data set used. Sometimes data is heavy, due to its size for example. Two storing systems exist:

  • full storage: data is assigned to an object's slot.

  • names and position: data names (as a string, obtained using deparse(substitute)) and their frame position (using sys.nframe()) are stored. Then the full data can be retrieve with those two informations (and only if the data objects are still in the environment)

This new system is based on the lattice package and grid graphics.


Package: adegraphics
Type: Package
Version: 1.0-8
Date: 2017-04-11
License: GPL (>=2)
Depends: ade4, graphics, grid, KernSmooth, lattice, latticeExtra, methods, RColorBrewer, sp (>= 1.1-1), stats

A lot of classes were implemented. Two superclass structures the architecture in class. Simple and complex graphics are distinguished in the former version:

  • ADEg class provides simple graphics using one kind of data (most of a time, only a data frame) and one representation method (points, labels, arrows...)

  • ADEgS class provides complex graphics making juxtaposition, superposition and/or insertion of several simple graphics.

5 subclasses inherits from the superclass abstract ADEg:

  • ADEg.S1: one-dimensional plot

  • ADEg.S2: bi-dimensional plot

  • ADEg.C1: one-dimensional data plotted in 2-D

  • ADEg.T: table plot

  • ADEg.Tr: triangle plot


Alice Julien-Laferriere, Aurelie Siberchicot and Stephane Dray


See ade4 website: <URL:>

See Also

lattice ADEg ADEgS



Search within the adegraphics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.