I already asked a similar question about how to create the following drawing:
I was offered to use the splom () function, but I donβt know how to apply it to my data. I saw examples of the splom () function, which can be found here and here , but due to my low programming skills, I cannot apply it.
I have 24 time series belonging to 4 independent groups (4 Pirwise correlation diagrams). 4 groups:
1) Frequency = 1 min., With the corresponding time series: AAPL_1m, MSFT_1m, INTC_1m, FB_1m, MU_1m, IBM_1m. 2) Frequency = 2 min., With the corresponding time series: AAPL_2m, MSFT_2m, INTC_2m, FB_2m, MU_2m, IBM_2m. 3) Frequency = 5 min., With the corresponding time series: AAPL_5m, MSFT_5m, INTC_5m, FB_5m, MU_5m, IBM_5m. 4) Frequency = 10 min., With the corresponding time series: AAPL_10m, MSFT_10m, INTC_10m, FB_10m, MU_10m, IBM_10m.
Each pair chart should show a correlation between time series in each group. To create each separate pair plot, I used the following functions:
pairs(cbind(AAPL_1m, MSFT_1m, INTC_1m, FB_1m, MU_1m, IBM_1m),main="Frequency=1 Min.",font.labels = 2, col="blue",pch=16, cex=0.8, cex.axis=1.5,las=1) pairs(cbind(AAPL_2m, MSFT_2m, INTC_2m, FB_2m, MU_2m, IBM_2m),main="Frequency = 2 Min.",font.labels = 2, col="blue",pch=16, cex=0.8, cex.axis=1.5,las=1) pairs(cbind(AAPL_5m, MSFT_5m, INTC_5m, FB_5m, MU_5m, IBM_5m),main="Frequency = 5 Min.",font.labels = 2, col="blue",pch=16, cex=0.8, cex.axis=1.5,las=1) pairs(cbind(AAPL_10m, MSFT_10m, INTC_10m, FB_10m, MU_10m, IBM_10m),main="Frequency = 10 Min.",font.labels = 2, col="blue",pch=16, cex=0.8, cex.axis=1.5,las=1)
If anyone can suggest how to use the splom () function to create the indicated / shown shape, we will be very grateful.
Also, if there is another suitable function that can be integrated for individual paired graphs (pairs ()) in one figure, I really want to apply it.