Class "ADEgS"
ADEgS-class.Rd
An object of ADEgS
class is a complex graphic.
This class allows the superposition, the insertion and/or the juxtaposition of several ADEg
, trellis
and/or ADEgS
objects.
The ADEgS
class have neither father class nor son classes.
Objects from the Class
ADEgS
objects can be created by calls of the form new("ADEgS", ...)
.
The regular usage in this package is to use the ADEgS
, add.ADEg
, superpose
, insert
or +
functions.
Slots
ADEglist
a list of several
trellis
,ADEg
and/orADEgS
objects.positions
a matrix with four columns and as many rows as the number of graphical objects in the
ADEglist
slot. For each simple graphic, i.e. in each row, the coordinates of the top-right and the bottom-left hand corners are innpc
unit (normalized parent coordinates).add
a square matrix with as many rows and columns as the number of graphical objects in the
ADEglist
slot. The value at the i-th row and j-th column is equal to 1 whether the j-th graphical object in theADEglist
slot is superpose to i-th graphical one. Otherwise, this value is equal to 0.Call
an object of class
call
Methods
- [
signature(x = "ADEgS", i = "numeric", j = "missing", drop = "logical")
: extracts thei
-th sub-graphics in thex@ADEglist
.i
can be a vector. Ifi
is a single number and if the extracted graphic in anADEg
object, the sub-selection is in the form ofADEg
ifdrop
isTRUE
and in the form ofADEgS
otherwise.- [
signature(x = "ADEgS", i = "numeric", j = "missing", drop = "missing")
: the same than the previous method.drop
isFALSE
by default- [[
signature(x = "ADEgS", i = "numeric", j = "missing")
: extracts one sub-graphic, thei
-th one, in thex@ADEglist
- [[
signature(x = "ADEgS", i = "character", j = "missing")
: extracts one sub-graphic, namedi
in thex@ADEglist
- [[<-
signature(x = "ADEgS", i = "numeric", j = "missing", value = "ADEg")
: replaces one sub graphic, thei
-th one, by anADEg
object in thex@ADEglist
- [[<-
signature(x = "ADEgS", i = "numeric", j = "missing", value = "ADEgS")
: replaces one sub graphic, thei
-th one, by anADEgS
object in thex@ADEglist
- $
signature(x = "ADEgS")
: extracts one sub-graphic by its name in thex@ADEglist
- getpositions
signature(object = "ADEgS")
: returns the positions matrix of the object, i.e.object@positions
- getgraphics
signature(object = "ADEgS")
: returns the list of graphics of the object, i.e.object@ADEglist
- getcall
signature(object = "ADEgS")
: returns the call of the object, i.e.object@Call
- names
signature(object = "ADEgS")
: returns the graphics' names of the object, i.e. the names ofobject@ADEglist
- names<-
signature(object = "ADEgS")
: replaces the graphics' names of the object, i.e. the names ofobject@ADEglist
- length
signature(x = "ADEgS")
: returns the number of graphics intox
, i.e. the length ofx@ADEglist
- plot
signature(x = "ADEgS")
: same asprint
signature(x = "ADEgS")
: displays the graphical elements into one device using positions and superposition management (x@add
matrix)- show
signature(object = "ADEgS")
: same asprint
- superpose
signature(g1 = "ADEgS", g2 = "ADEg", which = "numeric", plot = "logical")
: creates a new"ADEgS"
object performing a superposition ofg2
on the which-thADEg
object ofg1
. This object is printed ifplot
isTRUE
.- superpose
signature(g1 = "ADEgS", g2 = "ADEg", which = "numeric", plot = "ANY")
: creates a new"ADEgS"
object performing a superposition ofg2
on the which-thADEg
object ofg1
. This object is printed only ifplot
isTRUE
.- superpose
signature(g1 = "ADEgS", g2 = "ADEg", which = "missing", plot = "ANY")
: creates a new"ADEgS"
object performing a superposition ofg2
on the lastADEg
object ofg1
. This object is printed only ifplot
isTRUE
.- superpose
signature(g1 = "ADEgS", g2 = "ADEgS", which = "missing", plot = "ANY")
: creates a new"ADEgS"
object performing a superposition between twoADEgS
having the same length and the samepositions
slot. It is used wheng1
andg2
are both created with a partition of individual groups, variables or analysis' axis.- +
signature(e1 = "ADEg", e2 = "ADEgS")
: creates a new"ADEgS"
object performing a superposition ofe1
one2
.- +
signature(e1 = "ADEgS", e2 = "ADEg")
: creates a new"ADEgS"
object performing a superposition ofe2
one1
.- cbindADEg
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
: creates a new"ADEgS"
object combiningg1
ong2
by columns.- rbindADEg
signature(g1 = "ADEgORADEgS", g2 = "ADEgORADEgS")
: creates a new"ADEgS"
object combiningg1
ong2
by rows.- update
signature(object = "ADEgS")
: modifies the graphical parameters of each sub-graphics listed inobject@ADEglist
and/or the object's names (with the key wordnames
) and/or theobject@positions
slot (with the key wordpositions
), after creation of theobject
. The current display is updated and a modified object is returned.- insert
signature(graphics = "ADEgS", oldgraphics = "missing", posi, ratio, inset, plot, which, dispatch)
: creates a new"ADEgS"
object performing an insertion ofgraphics
into the current device.- insert
signature(graphics = "ADEgS", oldgraphics = "ADEg", posi, ratio, inset, plot)
: creates a new"ADEgS"
object performing an insertion ofgraphics
intooldgraphics
.- insert
signature(graphics = "ADEgORtrellis", oldgraphics = "ADEgS", posi, ratio, inset, plot, which)
: creates a new"ADEgS"
object performing an insertion ofgraphics
intooldgraphics
.- insert
signature(graphics = "ADEgS", oldgraphics = "ADEgS", posi, ratio, inset, plot, which, dispatch)
: creates a new"ADEgS"
object performing an insertion ofgraphics
intooldgraphics
.
Author
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray