Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

adegraphics-package

Graphical objects for ade4 functions (and more)


Description

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.

Details

Package: adegraphics
Type: Package
Version: 1.0-12
Date: 2018-08-31
License: GPL (>=2)
Depends: ade4 (>= 1.7-13), 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

Author(s)

Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

References

Aurélie Siberchicot, Alice Julien-Laferrière, Anne-Béatrice Dufour, Jean Thioulouse and Stéphane Dray (2017). adegraphics: An S4 Lattice-Based Package for the Representation of Multivariate Data. The R Journal. 9:2. 198–212. https://journal.r-project.org/archive/2017/RJ-2017-042/index.html

See Also

Examples

showClass("ADEg")
showClass("ADEgS")

adegraphics

An S4 Lattice-Based Package for the Representation of Multivariate Data

v1.0-15
GPL (>= 2)
Authors
Stéphane Dray <stephane.dray@univ-lyon1.fr> and Aurélie Siberchicot <aurelie.siberchicot@univ-lyon1.fr>, with contributions from Jean Thioulouse. Based on earlier work by Alice Julien-Laferrière.
Initial release
2018-12-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.