T.value-class {adegraphics} | R Documentation |
Class T.value
Description
A class for the representation of a matrix, a data frame, or a distance matrix using symbols, varying in size or color.
Objects from the Class
T.value
objects can be created by calls of the form new("T.value", ...)
.
The regular usage in this package is to use the table.value
function.
Slots
data
:a list containing data or data's name.
dftab
: the displayed values which can betable
,dist
ormatrix
in the form of a data frame, a name or a matching callcoordsx
: an integer or a vector indicating the columns ofdftab
keptcoordsy
: an integer or a vector indicating the rows ofdftab
keptlabelsx
: the columns' labelslabelsy
: the rows' labelsframe
: a positive or null integer. It is the number of the frame containing the data (used withsys.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. IfFALSE
, only the names of the data arguments are stored.
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 to create the
trellis
object.g.args
a list containing some method parameters linked with the created object of
ADEg.T
class. The specific slots forT.value
objects are:breaks
: a vector of values to splitdftab
. IfNULL
,pretty(dftab, nclass)
is used.nclass
: an integer for the number of desired intervals, ignored ifbreaks
is not missing.col
: aNULL
value, a color or a colors vector to color symbols.method
: the method of representation fordftab
(color shading or proportional size).symbol
: the type of symbol (square or circle).center
: a center value for methodsize
.centerpar
: a logical or a list to represent center value using elements in theadegpar("ppoints")
list.
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.
Call
an object of class
call
Extends
Class ADEg.T
, directly.
Class ADEg
, by class ADEg.T
, distance 2.
Class ADEgORtrellis
, by class ADEg.T
, distance 3.
Class ADEgORADEgSORtrellis
, by class ADEg.T
, distance 3.
Methods
The methods of the father classes "ADEg.T"
and "ADEg"
can be used by inheritance.
The specific methods for T.value
are:
- prepare
signature(object = "T.value")
: calls the parent method (prepare
forADEg.T
) and modifies some graphical parameters used by default and calculates limits and grid.- panel
signature(object = "T.value")
: draws symbols.
Note
For the symbol size, if the method is size
, we use perceptual scaling (Tanimura et al. 2006) .
Author(s)
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
References
Tanimura, S. and Kuroiwa, C. and Mizota, T. 2006 Proportional symbol mapping in R Journal of Statistical Software 15, 1–7
See Also
ADEg
ADEg.T
T.cont
table.value
Examples
showClass("T.value")