This is an oldie but a goodie. There are a lot of ways to plot multiple bivariate relationships, but this is one of my favorites, courtesy of the R Graph Gallery. https://gist.github.com/819111

R news and tutorials contributed by (552) R bloggers

(This article was first published on Freakonometrics - Tag - R-english, and kindly contributed to R-bloggers) Last week, we've introduced the concept of exchangeable variables, i.e. satisfying for any matrix , i.e. is a permutation matrix: belongs to the orthogonal group, , and with elements in . It is possible to extend that family, considering all matrices in the...

Color Imagedata(mtcars)fit = lm(mpg ~ ., mtcars)cor = summary(fit, correlation = TRUE)$correlationcor2 = t(cor)colors = c("#A50F15", "#DE2D26", "#FB6A4A", "#FCAE91", "#FEE5D9","white", "#EFF3FF", "#BDD7E7", "#6BAED6", "#3182BD", "#08519C")image(1:11, 1:11, cor2, axes = FALSE, ann = F, col = colors)text(rep(1:11, 11), rep(1:11, each = 11), round(100 * cor2))Ellipseslibrary(ellipse)col =