Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pairsCond

Pairs Plot of a cu.u Object (Internal Use)


Description

.pairsCond() is an internal function for plotting the pairwise Rosenblatt transforms, i.e., the pairwise conditional distributions, as returned by pairwiseCcop(), via the principal function pairsRosenblatt().

The intention is that pairsRosenblatt() be called, rather than this auxiliary function.

Usage

.pairsCond(gcu.u, panel = points, colList,
     col = par("col"), bg = par("bg"), labels, ...,
     text.panel = textPanel, label.pos = 0.5,
     cex.labels = NULL, font.labels = 1, gap = 0,
     axes = TRUE, panel.border = TRUE, key = TRUE,
     keyOpt = list(space= 2.5, width= 1.5, axis= TRUE,
                   rug.at= numeric(), title= NULL, line= 5),
     main = NULL, main.centered = FALSE,
     line.main = if(is.list(main)) 5/4*par("cex.main")* rev(seq_along(main)) else 2,
     sub = NULL, sub.centered = FALSE, line.sub = 4)

Arguments

gcu.u

(n,d,d)-array of pairwise Rosenblatt-transformed u's as returned by pairwiseCcop().

panel

panel function, as for pairs().

colList

list of colors and information as returned by pairsColList().

col

instead of colList, specifying the points' color.

bg

instead of colList, specifying the constant background color.

labels

pairs() argument; can be missing (in which case a suitable default is chosen or can be "none" [or something else])

...

further arguments, as for pairs. These are passed to panel(), and axis, may also contain font.main, cex.main, and adj, for title adjustments; further, oma for modifying the default par("oma").

text.panel, label.pos, cex.labels, font.labels, gap

see pairs().

axes

logical indicating whether axes are drawn.

panel.border

logical indicating whether a border is drawn around the pairs (to mimic the behavior of image()).

key

logical indicating whether a color key is drawn.

keyOpt

a list of options for the color key;

space:

white space in height of characters in inch to specify the the distance of the key to the pairs plot.

width:

key width in height of characters in inch.

axis:

logical indicating whether an axis for the color key is drawn.

rug.at:

values where rugs are plotted at the key.

title:

key title.

line:

key placement (horizontal distance from color key in lines).

main

title

main.centered

logical indicating if the title should be centered or not; the default FALSE centers it according to the pairs plot, not the whole plotting region.

line.main

title placement (vertical distance from pairs plot in lines).

sub

sub-title

sub.centered

logical indicating if the sub-title should be centered or not; see main.centered.

line.sub

sub-title placement, see line.main.

Note

based on pairs.default() and filled.contour() from R-2.14.1 - used in Hofert and Maechler (2013)

Author(s)

Marius Hofert and Martin Maechler

See Also

pairsRosenblatt(), the prinicipal function, calling .pairsCond().


copula

Multivariate Dependence with Copulas

v1.0-1
GPL (>= 3) | file LICENCE
Authors
Marius Hofert [aut] (<https://orcid.org/0000-0001-8009-4665>), Ivan Kojadinovic [aut] (<https://orcid.org/0000-0002-2903-1543>), Martin Maechler [aut, cre] (<https://orcid.org/0000-0002-8685-9910>), Jun Yan [aut] (<https://orcid.org/0000-0003-4401-7296>), Johanna G. Nešlehová [ctb] (evTestK(), <https://orcid.org/0000-0001-9634-4796>), Rebecca Morger [ctb] (fitCopula.ml(): code for free mixCopula weight parameters)
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.