Skip to contents

An object of ADEg.T class represents table data.

The ADEg.T class is a virtual class, i.e. a class which is not possible to create objects but which have heirs. This class inherits from ADEg class and has two son classes : T.image and T.value.

Objects from the Class

None object of this class can be instantiated.

Slots

data:

a list containing data or data's name.

  • dftab: the displayed values which can be table, dist or matrix in the form of a data frame, a name or a matching call

  • coordsx: an integer or a vector indicating the columns of dftab kept

  • coordsy: an integer or a vector indicating the rows of dftab kept

  • labelsx: the columns' labels

  • labelsy: the rows' labels

  • "frame: a positive or null integer. It is the number of the frame containing the data (used with sys.frame(..., env = data$frame)). Only if the data are not stored (i.e. data$storeData = FALSE).

  • storeData: a logical indicating if the data should be stored in the returned object. If FALSE, only the names of the data arguments are stored.

trellis.par

a list of parameters for lattice call. It will be passed directly to par.settings arguments of the lattice function.

adeg.par

a list of graphical parameters, corresponding to the ones given by adegpar() function.

lattice.call

a list of two elements to create the trellis object:

  • graphictype: xyplot

  • arguments: its parameters to obtain the trellis object

g.args

a list containing some method parameters linked with the created object of ADEg.T class:

  • method: only for T.value objects

  • symbol: only for T.value objects

  • center: only for T.value objects

stats

a list of internal preliminary calculations

s.misc

a list of some others internal parameters:

  • breaks.update: a logical indicating if the legend breaks is updating

  • axes$dx and axes$dy: intervals for the cell size

Call

an object of class call

Extends

Class ADEg, directly.

Methods

prepare

signature(object = "ADEg.T"): performs the calculations before display the object (e.g. limits, grid and axis calculations)

setlatticecall

signature(object = "ADEg.T"): prepares the lattice.call slot

panelbase

signature(object = "ADEg.T"): defines the graphical background (e.g. axes, labels, ticks, box and grid)

gettrellis

signature(object = "ADEg.T"): converts the graphic into a trellis object of lattice class

Author

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

Examples

showClass("ADEg.T")
#> Virtual Class "ADEg.T" [package "adegraphics"]
#> 
#> Slots:
#>                                                                        
#> Name:          data  trellis.par     adeg.par lattice.call       g.args
#> Class:         list         list         list         list         list
#>                                              
#> Name:         stats       s.misc         Call
#> Class:         list         list         call
#> 
#> Extends: 
#> Class "ADEg", directly
#> Class "ADEgORtrellis", by class "ADEg", distance 2
#> Class "ADEgORADEgSORtrellis", by class "ADEg", distance 2
#> 
#> Known Subclasses: 
#> Class "T.image", directly
#> Class "T.value", directly
#> Class "T.cont", by class "T.value", distance 2