Posts

Visualizing Scatterplots in R | Correlation

Image
See Video   ⮞  ☝ AGRON stats March 09, 2021 Introduction Import data set Visualizing Scatterplots Scatterplot between two variables A matrix of scatterplots ggplot2 generalized pairs plot Introduction In previous tutorial, we have learned how to perform correlation test and how to get a matrix of correlation values by using different packages. Now in this lecture, you will learn, how to visualize the association or relationship between variables and visualizing a matrix of scatterplots. Import data set As a first step, I always recommend to clear data objects and values in global environment using rm() function. The argument list in this function specify character vectors naming objects to be removed. Set TRUE value for the argument all to remove objects and values if you have created earlier. The graphics.off() function will close ...