#------------------------------------------------------------------------------------# # R in Action (2nd ed): Chapter 11 # # Intermediate graphs # # requires packages car, scatterplot3d, gclus, hexbin, IDPmisc, Hmisc, # # corrgram, vcd, rlg to be in…