Learn R Programming

adegraphics (version 1.0-21)

sortparamADEg: Sort a sequence of graphical parameters

Description

Sort a sequence of graphical parameters in several lists.

Usage

sortparamADEg(...)
sortparamADEgS(..., graphsnames, nbsubgraphs = rep(1, length(graphsnames)))

Value

sortparamADEg return a list of four lists named adepar, trellis, g.args and rest.

sortparamADEgS return a list of as many lists as the length of graphsnames, i.e., as the number of sub-graphs of the ADEgS. The names of the lists are graphsnames and each sub-list is the result of the

sortparamADEg function aplly on each sub-graph.

Arguments

...

a sequence of graphical parameters

graphsnames

a sequence containing the name of each simple graph of the ADEgS

nbsubgraphs

a sequence containing the number of sub-graphs in each graph named in graphsnames

Author

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

Examples

Run this code

l1 <- sortparamADEg(xlab = "x-axis label", ylab = "y-axis label", plabels.cex = 1.5, 
  porigin.include = FALSE)
length(l1)
names(l1)
  
l2 <- sortparamADEgS(xlab = "x-axis label", eig.main = "Eigenvalues", row.ppoints.col = "red",
  porigin.include = FALSE, graphsnames = c("row", "col", "eig"))
names(l2)
names(l2$row)

l3 <- sortparamADEgS(xlab = "x-axis label", eig.main = "Eigenvalues", row.ppoints.col = "pink",
  porigin.include = FALSE, graphsnames = c("row", "col", "eig"), nbsubgraphs = c(1, 2, 1))
names(l3)
length(l3$row)
length(l3$col)

Run the code above in your browser using DataLab