Articles by Cloud Wei

Visulization of correlation matrix 2

April 22, 2009 | Cloud Wei

The plot.corr() function was updated, now it can1. Add colorkey and text labels more flexible.2. Reorder the variables using PCA or hierarchical clustering methods.3. Excellent in details.4. Other.What's more, I found a new method to display correlatio... [Read more...]

Comparison of different circle graphs

March 24, 2009 | Cloud Wei

See in my Picasa here and get corrplot package here. Thanks Bob O'Hara's advice:)I found people's tastes differ, so input parameter col (fill color) and bg (background color) was added in new edition. What is more, now you can order your variables usin... [Read more...]

Visulization of correlation matrix

March 12, 2009 | Cloud Wei

Color Imagedata(mtcars)fit = lm(mpg ~ ., mtcars)cor = summary(fit, correlation = TRUE)$correlationcor2 = t(cor[11:1, ])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(... [Read more...]

Andrews’ Curve And Parallel Coordinate Graph

March 11, 2009 | Cloud Wei

Unison graph and parallel coordinate graph share similar thought in visualising the difference of multidimensional data, thought the former is much more complicated. Based on iris data, we can see their performance.Parallel coordinate graphAndrews' Cur... [Read more...]

Scatterplots

March 11, 2009 | Cloud Wei

There are many types of scatterplots in R, here are some examples based on the famous Iris data.pairs() and coplot() in package graphics.gpairs() in package YaleToolkit.scatterplot.matrix() or spm() in package car.splom() in package lattice. [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)