Class ADEg
ADEg-class.Rd
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
.
Slots
trellis.par
a list of parameters for
lattice
call. It will be passed directly topar.settings
arguments of thelattice
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
: thelattice
function to usearguments
: its parameters to obtain thetrellis
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 argumentscales
in thexyplot
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 theCall
slot- getlatticecall
signature(object = "ADEg")
: returns thelattice.call
slot- getstats
signature(object = "ADEg")
: returns thestats
slot- getparameters
signature(object = "ADEg", number)
: ifnumber
is 1, returns thetrellis.par
slot, if it is 2, returns theadeg.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 newADEgS
object performing a superposition ofg2
ong1
.- printSuperpose
signature(g1 = "ADEgORtrellis", refg = "ADEgORtrellis")
: internal method, not for users.- cbindADEg
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
: creates a new"ADEgS"
object combiningg1
ong2
.- rbindADEg
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
: creates a new"ADEgS"
object combiningg1
ong2
by rows.- insert
signature(graphics = "ADEgORtrellis", oldgraphics = "missing", posi, ratio, inset, plot, which)
: creates a newADEgS
object performing an insertion ofgraphics
into the current device.- insert
signature(graphics = "ADEgORtrellis", oldgraphics = "ADEg", posi, ratio, inset, plot)
: creates a newADEgS
object performing an insertion ofgraphics
intooldgraphics
.- show
signature(x = "ADEg")
: prints theADEg
object- plot
signature(x = "ADEg")
: prints theADEg
objectsignature(x = "ADEg")
: displays theADEg
object in the current device or in a new one- update
signature(object = "ADEg")
: modifies graphical parameters after theADEg
creation, updates the current display and returns the modifiedADEg
Author
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
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 intrellis.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
andylab
.a neighbouring graph (object of class
nb
orlistw
) and a spatial one (object of classsp
) can be display in the background using the keysnbobject
,Sp
andsp.layout
.
Examples
showClass("ADEg")
#> Virtual Class "ADEg" [package "adegraphics"]
#>
#> Slots:
#>
#> Name: trellis.par adeg.par lattice.call g.args stats
#> Class: list list list list list
#>
#> Name: s.misc Call
#> Class: list call
#>
#> Extends: "ADEgORtrellis", "ADEgORADEgSORtrellis"
#>
#> Known Subclasses:
#> Class "ADEg.C1", directly
#> Class "ADEg.S1", directly
#> Class "ADEg.S2", directly
#> Class "ADEg.T", directly
#> Class "ADEg.Tr", directly
#> Class "C1.barchart", by class "ADEg.C1", distance 2
#> Class "C1.curve", by class "ADEg.C1", distance 2
#> Class "C1.density", by class "ADEg.C1", distance 2
#> Class "C1.gauss", by class "ADEg.C1", distance 2
#> Class "C1.dotplot", by class "ADEg.C1", distance 2
#> Class "C1.hist", by class "ADEg.C1", distance 2
#> Class "C1.interval", by class "ADEg.C1", distance 2
#> Class "S1.boxplot", by class "ADEg.S1", distance 2
#> Class "S1.class", by class "ADEg.S1", distance 2
#> Class "S1.distri", by class "ADEg.S1", distance 2
#> Class "S1.label", by class "ADEg.S1", distance 2
#> Class "S1.match", by class "ADEg.S1", distance 2
#> Class "S2.arrow", by class "ADEg.S2", distance 2
#> Class "S2.class", by class "ADEg.S2", distance 2
#> Class "S2.corcircle", by class "ADEg.S2", distance 2
#> Class "S2.density", by class "ADEg.S2", distance 2
#> Class "S2.distri", by class "ADEg.S2", distance 2
#> Class "S2.image", by class "ADEg.S2", distance 2
#> Class "S2.label", by class "ADEg.S2", distance 2
#> Class "S2.logo", by class "ADEg.S2", distance 2
#> Class "S2.match", by class "ADEg.S2", distance 2
#> Class "S2.traject", by class "ADEg.S2", distance 2
#> Class "S2.value", by class "ADEg.S2", distance 2
#> Class "T.image", by class "ADEg.T", distance 2
#> Class "T.value", by class "ADEg.T", distance 2
#> Class "C1.curves", by class "ADEg.C1", distance 3
#> Class "T.cont", by class "ADEg.T", distance 3
#> Class "Tr.class", by class "ADEg.Tr", distance 2
#> Class "Tr.label", by class "ADEg.Tr", distance 2
#> Class "Tr.match", by class "ADEg.Tr", distance 2
#> Class "Tr.traject", by class "ADEg.Tr", distance 2