S2.distri-class: Class 'S2.distri'

S2.distri-classR Documentation

Class S2.distri

Description

A class for distributions on a numeric score using a mean-standard deviation display.

Objects from the Class

S2.distri objects can be created by calls of the form new("S2.distri", ...).

The regular usage in this package is to use the s.distri function.

Slots

data

a list containing data or data's name.

  • dfxy: the displayed values in the form of a data frame, a name or a matching call.

  • dfdistri: the mass distribution in which each column is a class.

  • xax: an integer or a vector indicating the columns of dfxy kept for the x-axes.

  • yax: an integer or a vector indicating the columns of dfxy kept for the y-axes.

  • 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.S2 class. The specific slots for S2.distri objects are:

  • ellipseSize: NULL or number between 0 and 1 for ellipse size.

  • starSize: NULL or number between 0 and 1 for star size.

  • col: a NULL value, a color or a colors vector to color ellipses, labels, lines and polygons.

stats

a list of internal preliminary calculations. The specific slots for S2.distri objects are:

  • means: a matrix containing the weighted mean calculated for each class indfdistri.

  • covvar: a list containing the weighted variance-covariance matrices calculated for each class indfdistri.

s.misc

a list of some others internal parameters:

  • ellipses: ellipses' coordinates.

Call

an object of class call

Extends

Class ADEg.S2, directly.
Class ADEg, by class ADEg.S2, distance 2.
Class ADEgORtrellis, by class ADEg.S2, distance 3.
Class ADEgORADEgSORtrellis, by class ADEg.S2, distance 3.

Methods

The methods of the father classes "ADEg.S2" and "ADEg" can be used by inheritance. The specific methods for S2.distri are:

prepare

signature(object = "S2.distri"): calls the parent method (prepare for ADEg.S2), modifies some graphical parameters used by default and calculates ellipses and centroids.

panel

signature(object = "S2.distri"): draws ellipses, stars, labels and points.

Author(s)

Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

See Also

ADEg ADEg.S2 s.distri

Examples

showClass("S2.distri")

sdray/adegraphics documentation built on July 26, 2024, 1:25 a.m.