2D scatter plot with means/standard deviations computed using an external table of weights
Description
This function represents a two dimensional scatter plot of a frequency distribution. Class are defined by ellipses and/or stars.
Usage
1 2 3 
Arguments
dfxy 
a data frame used to produce the plot 
dfdistri 
a data frame containing the mass distribution in columns 
xax 
an integer (or a vector) indicating which column(s) of 
yax 
an integer (or a vector) indicating which column(s) of 
starSize 

ellipseSize 

col 
a color or a colors vector to color points, ellipses, labels, lines and polygons 
facets 
a factor splitting the rows of 
plot 
a logical indicating if the graphics is displayed 
storeData 
a logical indicating if the data should be stored in
the returned object. If 
add 
a logical. If 
pos 
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 
... 
additional graphical parameters (see

Value
An object of class ADEg
(subclass S2.distri
) or ADEgS
(if add
is TRUE
and/or
if facets or vectors for xax
/yax
are used).
The result is displayed if plot
is TRUE
.
Author(s)
Alice JulienLaferriere, Aurelie Siberchicot aurelie.siberchicot@univlyon1.fr and Stephane Dray
See Also
S2.distri
ADEg.S2
Examples
1 2 3 4 5 6 7 8  data(rpjdl, package = "ade4")
xy < ade4::dudi.coa(rpjdl$fau, scan = FALSE)$li
j < c(1, 5, 8, 20, 21, 23, 26, 33, 36, 44, 47, 49)
dfdistri < rpjdl$fau[, j]
coli < colorRampPalette(c("blue", "red", "orange"))(49)[j]
s.distri(xy, dfdistri, ellipseSize = 1, starSize = 0, porigin.include = FALSE,
pellipses = list(col = coli, alpha = 0.3), plabels.cex = 0)
