Correlations

Calculating correlations
corloads = cor(Data[,2:(length(Data))], use = "pairwise.complete.obs") library(spatstat) plot(im(corloads[nrow(corloads):1,]), main="Correlation Matrix")
 * 1) Creating Correlation Plot

Advanced Correlation Plot
library(ggplot2) library(ggcorrplot) corr <- round(cor(Air_Climate, use = "complete.obs"), 1) ggcorrplot(corr, hc.order = TRUE,           type = "lower",            lab = TRUE,            lab_size = 3,            method="circle",            colors = c("tomato2", "white", "springgreen3"),            title="title",            ggtheme=theme_bw)
 * 1) Correlation matrix
 * 1) Plot