Learn R Programming

adegraphics (version 1.0-21)

cbindADEg: Combine ADEg objects by columns or rows

Description

Take a sequence of ADEg, ADEgS or trellis arguments and combine by columns or rows, respectively.

Usage

cbindADEg(g1, g2, ..., plot = FALSE)
rbindADEg(g1, g2, ..., plot = FALSE)

Value

an ADEgS object

Arguments

g1

an object of class ADEg, ADEgS or trellis

g2

an object of class ADEg, ADEgS or trellis

...

other objects of class ADEg, ADEgS or trellis

plot

a logical indicating if the graphics is displayed

Author

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

See Also

ADEg ADEgS ADEgS

Examples

Run this code
data(jv73, package = "ade4")
pca1 <- ade4::dudi.pca(jv73$morpho, scannf = FALSE)
g1 <- s.label(pca1$li, plabels.optim = TRUE, plot = FALSE)
g2 <- s.class(pca1$li, jv73$fac.riv, starSize = 0, ellipseSize = 0, chullSize = 1, 
  ppolygons.alpha = 0.4, col = rainbow(12), ppoints.cex = 0, plot = FALSE)
g3 <- s.corcircle(pca1$co, pbackground.box = FALSE, plot = FALSE)
g4 <- rbindADEg(cbindADEg(g1, g2), cbindADEg(superpose(g1, g2), g3), plot = TRUE)

Run the code above in your browser using DataLab