| Tr.label-class {adegraphics} | R Documentation |
Class Tr.label
Description
A class for creating and drawing triangular plot with point label.
Objects from the Class
Tr.label objects can be created by calls of the form new("Tr.label", ...).
The regular usage in this package is to use the triangle.label function.
Slots
dataa list containing data or data's name.
dfxyz: the displayed values in the form of a three columns data frame, a name or a matching call.labels: a character vector containing labels for points.frame: 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.para list of parameters for
latticecall. It will be passed directly topar.settingsarguments of thelatticefunction.adeg.para list of graphical parameters, corresponding to the ones given by
adegpar()function.lattice.calla list to create the
trellisobject.g.argsa list containing some method parameters linked with the created object of
ADEg.Trclass. The specific slots forTr.classobjects are:addmean: a logical to plot the mean.addaxes: a logical to draw the principal axes.meanpar: a list to represent mean points usingpch,cexandcol.axespar: a list to represent axes lines usingcol,lwdandlty.max3dandmin3d: vectors of three values for triangular maximal and minimal limits.adjust: a logical to adjust the device with the limits of the smaller equilateral triangle containing the values.
statsa list of internal preliminary calculations
s.misca list of some others internal parameters:
cornerp: coordinates of the triangle extremities.
Callan object of class
call
Extends
Class ADEg.Tr, directly.
Class ADEg, by class ADEg.Tr, distance 2.
Class ADEgORtrellis, by class ADEg.Tr, distance 3.
Class ADEgORADEgSORtrellis, by class ADEg.Tr, distance 3.
Methods
The methods of the father classes "ADEg.Tr" and "ADEg" can be used by inheritance.
The specific methods for Tr.label are:
- prepare
signature(object = "Tr.label"): calls the parent method (prepareforADEg.Tr), modifies some graphical parameters used by default and defines the mean point and the axes.- panel
signature(object = "Tr.label"): draws lines, labels and points.
Author(s)
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
See Also
Examples
showClass("Tr.label")