ADEg-class: Class 'ADEg'

ADEg-classR Documentation

Class ADEg

Description

An object of ADEg class is a simple graphic. This object can be blended in with another one (superposition, insertion and/or juxtaposition) to form a more complex graphics (an ADEgS object).

The ADEg class is a virtual class, i.e. a class which is not possible to create objects but which have heirs. This class has five son classes : ADEg.S1, ADEg.S2, ADEg.C1, ADEg.T and ADEg.Tr.

Objects from the Class

None object of this class can be instantiated.

Slots

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: the lattice function to use

  • arguments: its parameters to obtain the trellis object

g.args

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

  • xlim, ylim

  • main, sub

  • xlab, ylab

  • samelimits

  • scales: a list of scales informations (ticks, marks and labels for the x-axis or the y-axis) in the form of the lattice argument scales in the xyplot function

stats

a list of internal preliminary calculations

s.misc

a list of some other internal parameters

Call

an object of class call

Methods

panelbase

signature(object = "ADEg"): draws grid and text and produces graphical output from the graphical object

getcall

signature(object = "ADEg"): returns the Call slot

getlatticecall

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

getstats

signature(object = "ADEg"): returns the stats slot

getparameters

signature(object = "ADEg", number): if number is 1, returns the trellis.par slot, if it is 2, returns the adeg.par slot and if it is 0, returns the both slots

add.ADEg

signature(object = "ADEg"): superposes an ADEg on the current one plotted

+

signature(e1 = "ADEg", e2 = "ADEg"): superposes e2 on e1

superpose

signature(g1 = "ADEgORtrellis", g2 = "ADEgORtrellis", which = "ANY", plot = "ANY"): creates a new ADEgS object performing a superposition of g2 on g1.

printSuperpose

signature(g1 = "ADEgORtrellis", refg = "ADEgORtrellis"): internal method, not for users.

cbindADEg

signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS"): creates a new "ADEgS" object combining g1 on g2.

rbindADEg

signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS"): creates a new "ADEgS" object combining g1 on g2 by rows.

insert

signature(graphics = "ADEgORtrellis", oldgraphics = "missing", posi, ratio, inset, plot, which): creates a new ADEgS object performing an insertion of graphics into the current device.

insert

signature(graphics = "ADEgORtrellis", oldgraphics = "ADEg", posi, ratio, inset, plot): creates a new ADEgS object performing an insertion of graphics into oldgraphics.

show

signature(x = "ADEg"): prints the ADEg object

plot

signature(x = "ADEg"): prints the ADEg object

print

signature(x = "ADEg"): displays the ADEg object in the current device or in a new one

update

signature(object = "ADEg"): modifies graphical parameters after the ADEg creation, updates the current display and returns the modified ADEg

Note

For any ADEg creation, various graphical parameters can be passed into the dots (...) arguments.

  • the parameters listed in adegpar() can be changed, even if some of them do no modify the graphic representation chosen.

  • the lattice parameters listed in trellis.par.get() can also be changed.

  • limits, main and sub title, and axes labels can be changed using the keys xlim, ylim, main, sub, xlab and ylab.

  • a neighbouring graph (object of class nb or listw) and a spatial one (object of class sp) can be display in the background using the keys nbobject, Sp and sp.layout.

Author(s)

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

See Also

ADEgS adegpar superpose insert

Examples

showClass("ADEg")

adegraphics documentation built on Oct. 13, 2023, 5:11 p.m.