In this recipe, we will visualize multivariate data with all continuous variables. The plot will look like a table of a bar plot but the important feature of this plot is that we can easily understand the relationship among variables.
Let's call the modified mtcars
dataset that we created in the introduction section. Then, we will take only the continuous variables for this recipe:
# Taking subset with only continuous variables con_dat <- modified_mtcars[c("mpg","disp","drat","wt","qsec")]
To produce multivariable visualization, we need to call the tabplot
library. If this is not preinstalled, then users can install it using the following command and then load it:
# To install tabplot library install.packages("tabplot") # Loading the library library(tabplot)