This function represents a three dimensional scatter plot of paired coordinates.
triangle.match(dfxyz1, dfxyz2, labels = row.names(as.data.frame(dfxyz1)),
min3d = NULL, max3d = NULL, adjust = TRUE, showposition = TRUE, facets = NULL,
plot = TRUE, storeData = TRUE, add = FALSE, pos = -1, ...)
An object of class ADEg
(subclass Tr.match
) or ADEgS
(if showposition
is TRUE,
if add
is TRUE
and/or if facets are used).
The result is displayed if plot
is TRUE
.
a three columns data frame, the first system of coordinates, used to produce the plot
a three columns data frame, the second system of coordinates, with as many rows as dfxyz1
, used to produce the plot.
a vector of character strings containing the matches' labels
a logical to adjust the device with the limits of the smaller equilateral triangle containing the values
a vector of three values for triangular minimal limits
a vector of three values for triangular maximal limits
a logical indicating whether the used triangle should be shown in the complete one
a factor splitting the rows of dfxyz
so that subsets
of the data are represented on different sub-graphics
a logical indicating if the graphics is displayed
a logical indicating if the data are stored in
the returned object. If FALSE
, only the names of the data
arguments are stored
a logical. If TRUE
, the graphic is superposed to the graphics
already plotted in the current device
an integer indicating the position of the
environment where the data are stored, relative to the environment
where the function is called. Useful only if storeData
is
FALSE
additional graphical parameters (see
adegpar
and trellis.par.get
)
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
Tr.match
ADEg.Tr
data(euro123, package = "ade4")
triangle.match(euro123$in78, euro123$in86, plabels.cex = 0.8)
Run the code above in your browser using DataLab