Learn R Programming

compositions (version 1.01-1)

gsipairs: Internal functions of the compositions package

Description

Creates a paired plot like pairs but allows to add additional panels afterwards

Usage

gsi.pairs(x, labels, panel = points, ..., main = NULL, oma = NULL, 
    font.main = par("font.main"), cex.main = par("cex.main"), 
    lower.panel = panel, upper.panel = panel, diag.panel = NULL, 
    text.panel = textPanel, label.pos = 0.5 + has.diag/3, cex.labels = NULL, 
    font.labels = 1, row1attop = TRUE, gap = 1, add=list(), 
    xlim=apply(x,2,range), ylim=apply(x,2,range), log="",
    onlyPanel=NULL,noplot=FALSE,trimode=FALSE)
gsi.add2pairs(x,panel,...,noplot=FALSE)
gsi.plots

Arguments

x
a multivariate dataset
labels
The names of the variables
panel
The function to performe the actual pairwise plots.
...
see pairs
main
see pairs
oma
see pairs
font.main
see pairs
cex.main
see pairs
lower.panel
see pairs
upper.panel
see pairs
diag.panel
see pairs
text.panel
see pairs
label.pos
see pairs
cex.labels
see pairs
font.labels
see pairs
row1attop
see pairs
gap
see pairs
add
additional parameter containing a list of additional panels
xlim
additional 2xncol(x)-matrix parameter giving in xlim[,j] the xlims of the j-th column
ylim
additional 2xncol(x)-matrix parameter giving in ylim[,i] the ylims of the j-th column
log
additional parameter with possible values like in plot allowing to log some plots, without a warning
noplot
Logical indicating wether the plotting should be suppressed. This is usefull for plotting single page postscripts.

Details

gsi.pairs essentially copies the functionality of pairs. However it additionally stores its own parameters in the dev.cur() position of gsi.plots and allows to modify the parameters and re-do a modified plot afterwards. This is mainly done by gsi.add2pairs by modifying the additional add parameter, that specifies more panels. This mechanism should not be used directly, since it is planed to replace it by a more rigorous solution soon.

See Also

gsi,