Skip to contents

This function represents multiple scores using points linked by curves.

Usage

s1d.curves(score, at = 1:NROW(score), facets = NULL, plot = TRUE, 
  storeData = TRUE, add = FALSE, pos = -1, ...)

Arguments

score

a numeric matrix (or a data frame) used to produce the plot

at

a numeric vector used as an index

facets

a factor splitting score so that subsets of the data are represented on different sub-graphics

plot

a logical indicating if the graphics is displayed

storeData

a logical indicating if the data are stored in the returned object. If FALSE, only the names of the data arguments are stored

add

a logical. If TRUE, the graphic is superposed to the graphics already plotted in the current device

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 storeData is FALSE

...

additional graphical parameters (see adegpar and trellis.par.get)

Details

Graphical parameters for lines and points are available in plines and in ppoints of adegpar. Some appropriated graphical parameters in p1d are also available.

Value

An object of class ADEg (subclass C1.curves) or ADEgS (if add is TRUE and/or if facets are used).
The result is displayed if plot is TRUE.

Author

Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

See also

Examples


scores <- matrix(1:50, nrow = 10)
s1d.curves(scores)