S1.label-class: Class 'S1.label'

S1.label-classR Documentation

Class S1.label

Description

A class for the creation and display of a numeric score with labels.

Objects from the Class

S1.label objects can be created by calls of the form new("S1.label", ...).

The regular usage in this package is to use the s1d.label function.

Slots

data

a list containing data or data's name.

  • score: the displayed values in the form of a numeric vector, a name or a matching call.

  • labels: the labels' names drawn for each score value.

  • at: the index value.

  • 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.S1 class. The specific slot for S1.class objects is:

  • poslabel: the label position of each score value, it can be "regular" or "value".

stats

a list of internal preliminary calculations

s.misc

a list of some others internal parameters. The specific slot for S1.label objects is:

  • rug: an index value indicating where the rugs are drawn.

Call

an object of class call

Extends

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

Methods

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

prepare

signature(object = "S1.label"): calls the parent method (prepare for ADEg.S1) and modifies some graphical parameters used by default.

panel

signature(object = "S1.label"): draws labels and its links with score points.

Author(s)

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

See Also

ADEg ADEg.S1 s1d.label

Examples

showClass("S1.label")

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