#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]


2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
HoltzAnonymous Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Anonymous
Guest
Anonymous

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