pairwiseMatrix: Pairwise plotting of multivariate data

pairwiseMatrixR Documentation

Pairwise plotting of multivariate data

Description

Display a pairwise scatter plot of two datasets for a random selection of variables. If the second dataset is not given, the function displays a histogram with normal curve superposition.

Usage

pairwiseMatrix(x, y = NULL, size = nrow(x), r = 4, c = 4, ...)

Arguments

x

A matrix or data.frame (n x p) of continuous data.

y

A matrix or data.frame (n x q) of continuous data.

size

number of rows to be sampled (default size = nrow(x)).

r

number of rows of the plot layout (default r = 4).

c

number of columns of the plot layout (default c = 4).

...

Currently ignored.

Value

No return value

Author(s)

Mario Grassi mario.grassi@unipv.it

Examples

adjdata <- SEMbap(sachs$graph, log(sachs$pkc))$data
rawdata <- log(sachs$pkc)
pairwiseMatrix(adjdata, rawdata, size = 1000)


SEMgraph documentation built on Sept. 11, 2024, 8:36 p.m.