Learn R Programming

copula (version 0.999-7)

splom2: Scatterplot Matrix (splom) with Nice Variable Names

Description

A version of lattice's splom function, particularly useful for visualizing multivariate data sampled from copulas, notably nested Archimedean ones.

Experimental We may replace the interface entirely, for example, to accept an "outer_nacopula".

Usage

splom2(data, varnames=NULL, Vname="U", xlab="",
       col.mat = NULL, bg.col.mat = NULL, ...)

Arguments

data
numeric matrix or as.matrix(.)able.
varnames
variable names, typically unspecified.
Vname
character string to become the "base name" of the variables.
xlab
x-axis label.
col.mat
matrix of colors for the plot symbols (the default is the setting as obtained from trellis.par.get("plot.symbol")$col).
bg.col.mat
matrix of colors for the background (the default is the setting as obtained from trellis.par.get("background")$col).
...
further arguments, passed to splom().

Value

  • from splom(), an Robject of class "trellis".

Examples

Run this code
## Create a 100 x 7 matrix of random variates from a t distribution
## with four degrees of freedom and plot the generated data
U7 <- matrix(rt(700, 4), 100, 7)
G <- splom2(U7)
G

Run the code above in your browser using DataLab