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

pairs2

Scatter-Plot Matrix ('pairs') for Copula Distributions with Nice Defaults


Description

A version of graphics' package pairs(), particularly useful for visualizing dependence in multivariate (copula) data.

Usage

pairs2(x, labels = NULL, labels.null.lab = "U", ...)

Arguments

x

a numeric matrix or an R object for which as.matrix(x) returns such a matrix.

labels

the variable names, typically unspecified.

labels.null.lab

the character string determining the “base name” of the variable labels in case labels is NULL and x does not have all column names given.

...

further arguments, passed to pairs().

Value

See Also

splom2() for a similar function based on splom().

Examples

## Create a 100 x 7 matrix of random variates from a t distribution
## with four degrees of freedom and plot the generated data
U <- matrix(rt(700, df = 4), ncol = 7)
pairs2(U, pch = ".")

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.