s1d.interval | R Documentation |
This function represents the interval between two scores using either segments or filled areas.
s1d.interval(score1, score2, at = 1:NROW(score1), method = c("bars", "area"),
facets = NULL, plot = TRUE, storeData = TRUE, add = FALSE, pos = -1, ...)
score1 |
a numeric vector (or a data frame) used to produce the plot |
score2 |
a numeric vector with as many values as values (or rows) in |
at |
a numeric vector used as an index |
method |
a value, |
facets |
a factor splitting |
plot |
a logical indicating if the graphics is displayed |
storeData |
a logical indicating if the data are 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
|
Graphical parameters for polygons, lines and segment boundaries are available in respectively
ppolygons
, plines
and parrows
of adegpar
.
Some appropriated graphical parameters in p1d
are also available.
An object of class ADEg
(subclass C1.interval
) or ADEgS
(if add
is TRUE
and/or
if facets or data frame for score
are used).
The result is displayed if plot
is TRUE
.
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
C1.interval
ADEg.C1
set.seed(40)
sc1 <- rnorm(10)
sc2 <- rnorm(10)
s1d.interval(sc1, sc2, method = "bars")
s1d.interval(sc1, sc2, method = "area")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.