Share the Gallery !Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

 

#99_scatterplot_matrix_with_car_package

 

 

Scatterplot matrices are a great way to roughly determine if you have a linear correlation between multiple variables.

For a set of data variables (dimensions) X1, X2, … , Xk, the scatter plot matrix shows all the pairwise scatter plots of the variables on a single view with multiple scatterplots in a matrix format.

This is a custom scatterplot matrix made using the car package. See other examples of scatter plot matrix in graph #97 and graph #98

 


Not what you are looking for ? Make a new search !

[mediatagger]


Leave a Reply

2 Comments on "#99 Scatterplot matrix – car package"

Notify of
avatar
Sort by:   newest | oldest | most voted
Anonymous
Guest

The example does not work:

my_colors <- brewer.pal(nlevels(as.factor(data$cyl)), "Set2")
Error in data$cyl : object of type 'closure' is not subsettable

wpDiscuz