The correlation can also be visualized using a correlation plot , which is implemented using the pair plot function in the seaborne package.

The first line of code below creates a new dataset, df, that contains only the numeric variables. The second line creates the plot, where the argument kind="scatter" creates the plot without the regression line. The third line plots the chart.

Created with the Personal Edition of HelpNDoc: Experience the power of a responsive website for your documentation