S2.arrow-class: Class 'S2.arrow'

Description Objects from the Class Slots Extends Methods Author(s) See Also Examples


A class for creating and drawing bi-dimensional plot with arrows from the origin to the coordinates and labeled.

Objects from the Class

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

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



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.

  • 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.

  • labels: a vector containing the arrows' labels.

  • 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.


a list of parameters for lattice call. It will be passed directly to par.settings arguments of the lattice function.


a list of graphical parameters, corresponding to the ones given by adegpar() function.


a list to create the trellis object.


a list containing some method parameters linked with the created object of ADEg.S2 class. The specific slot for S2.arrow objects is:

  • Sp: a spatial object stem from Sp package.


a list of internal preliminary calculations


a list of some others internal parameters:

  • lim.update: a logical indicating if the limits are updating


an object of class call


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.


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


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


signature(object = "S2.arrow"): draws points, arrows and labels.


Alice Julien-Laferriere, Aurelie Siberchicot [email protected] and Stephane Dray

See Also

ADEg ADEg.S2 s.arrow



adegraphics documentation built on April 5, 2018, 5:07 p.m.