Tr.label-class | R Documentation |
Tr.label
A class for creating and drawing triangular plot with point label.
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.
data
a 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
with sys.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.
If FALSE
, only the names of the data arguments are stored.
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 to create the trellis
object.
g.args
a list containing some method parameters linked with the created object of ADEg.Tr
class.
The specific slots for Tr.class
objects are:
addmean
: a logical to plot the mean.
addaxes
: a logical to draw the principal axes.
meanpar
: a list to represent mean points using pch
, cex
and col
.
axespar
: a list to represent axes lines using col
, lwd
and lty
.
max3d
and min3d
: 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.
stats
a list of internal preliminary calculations
s.misc
a list of some others internal parameters:
cornerp
: coordinates of the triangle extremities.
Call
an object of class call
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.
The methods of the father classes "ADEg.Tr"
and "ADEg"
can be used by inheritance.
The specific methods for Tr.label
are:
signature(object = "Tr.label")
:
calls the parent method (prepare
for ADEg.Tr
), modifies some graphical parameters used
by default and defines the mean point and the axes.
signature(object = "Tr.label")
:
draws lines, labels and points.
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
ADEg
ADEg.Tr
triangle.label
showClass("Tr.label")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.