s1d.label | R Documentation |
This function represents a numeric labeled score
s1d.label(score, labels = 1:NROW(score), at = 0.5, poslabel = c("regular",
"value"), facets = NULL, plot = TRUE, storeData =
TRUE, add = FALSE, pos = -1, ...)
score |
a numeric vector (or a data frame) used to produce the plot |
labels |
the labels' names drawn for each |
at |
a numeric vector used as an index |
poslabel |
the label position, it can be |
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 rugs are available in plines
of adegpar
.
Some appropriated graphical parameters in p1d
are also available.
An object of class ADEg
(subclass S1.label
) 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
S1.label
ADEg.S1
data(meau, package = "ade4")
envpca <- ade4::dudi.pca(meau$env, scannf = FALSE)
g1 <- s1d.label(envpca$l1[, 1], row.names(envpca$l1), plot = FALSE)
g2 <- s1d.label(envpca$co[, 1], row.names(envpca$co), p1d.reverse = TRUE, plot = FALSE)
G <- ADEgS(c(g1, g2), layout = c(2, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.