Tpairs {Tmisc} | R Documentation |
Better scatterplot matrices.
Description
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=Tcols[factor(iris$Species)])
Tpairs(iris[-5], pch=21, bg=gghues(3)[factor(iris$Species)], gap=1)
[Package Tmisc version 1.0.1 Index]