ADEg-class | R Documentation |
ADEg
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
.
None object of this class can be instantiated.
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
signature(object = "ADEg")
: draws grid and text and produces graphical output
from the graphical object
signature(object = "ADEg")
: returns the Call
slot
signature(object = "ADEg")
: returns the lattice.call
slot
signature(object = "ADEg")
: returns the stats
slot
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
signature(object = "ADEg")
: superposes an ADEg on the
current one plotted
signature(e1 = "ADEg", e2 = "ADEg")
: superposes e2 on e1
signature(g1 = "ADEgORtrellis", g2 = "ADEgORtrellis", which = "ANY", plot = "ANY")
:
creates a new ADEgS
object performing a superposition of g2
on g1
.
signature(g1 = "ADEgORtrellis", refg = "ADEgORtrellis")
:
internal method, not for users.
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
:
creates a new "ADEgS"
object combining g1
on g2
.
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
:
creates a new "ADEgS"
object combining g1
on g2
by rows.
signature(graphics = "ADEgORtrellis", oldgraphics = "missing", posi, ratio, inset, plot, which)
:
creates a new ADEgS
object performing an insertion of graphics
into the current device.
signature(graphics = "ADEgORtrellis", oldgraphics = "ADEg", posi, ratio, inset, plot)
:
creates a new ADEgS
object performing an insertion of graphics
into oldgraphics
.
signature(x = "ADEg")
: prints the ADEg
object
signature(x = "ADEg")
: prints the ADEg
object
signature(x = "ADEg")
: displays the ADEg
object
in the current device or in a new one
signature(object = "ADEg")
: modifies graphical parameters after
the ADEg
creation, updates the current display and returns the modified ADEg
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
.
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
ADEgS
adegpar
superpose
insert
showClass("ADEg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.