The ipairs function produces an image scatter plot matrix of large datasets where the colors encode the density of the points in the scatter plots.
In this example, correlations of Ox concentrations between three different sites (Altdorf, Lucerne and Schwyz) are demonstrated.
## load required packages
library(IDPmisc)
library(SwissAir) # data for the example
## prepare the data
Ox <- AirQual[,c("ad.O3","lu.O3","sz.O3")] +
AirQual[,c("ad.NOx","lu.NOx","sz.NOx")] -
AirQual[,c("ad.NO","lu.NO","sz.NO")]
names(Ox) <- c("ad","lu","sz")
## draw graph
ipairs(Ox, ztransf = function(x){x[x<1] <- 1; log2(x)})