Skip to contents

A matrix of scatter plots with rugged histograms, correlations, and significance stars. Much of the functionality borrowed from PerformanceAnalytics::chart.Correlation().

Usage

Tpairs(x, histogram = TRUE, gap = 0, ...)

Arguments

x

A numeric matrix or data.frame.

histogram

Overlay a histogram on the diagonals?

gap

distance between subplots, in margin lines.

...

arguments to be passed to or from other methods.

Examples

Tpairs(iris[-5])

Tpairs(iris[-5], pch=21, bg=gghues(3)[factor(iris$Species)], gap=1)