## Plotting Categorical Variable vs continuous variables

Let’s begin Data visualizations from basic to more advanced levels where we can learn about plotting categorical variable vs continuous variable or categorical vs categorical variables.Let’s start RStudio and begin typing in 🙂 For Best Course on Data Science Developed by Data Scientist ,please follow the below link to avail discount https://www.udemy.com/machine-learning-using-r/?couponCode=DISFOR123 #### Let’s store […]

## Correlation Plot

Let’s start visualizing correlation values in a plot.Open your RStudio and begin typing in !!! Let's import the library corrplot for correlation matrix visualization library(corrplot) Let's store the dataset mtcars into dataframe named DataFrame DataFrame <- mtcars Let's find the correlation matrix of this data set corrMatrix <- cor(DataFrame) Let'c visualize the correlation matrix.This plot […]

## Finding patterns in Predictor Variables

Finding correlated variables is very important in order to remove multicollinearity in multiple regression models.Once you know the correlated variables you can choose few from them or may be just one from them.It depends on correlation value and other factors.Let’s begin to visualize the correlation in variables in a nice plot.Open your RStudio and begin […]

## Boxplot using ggplot2 in R

Introduction Let’s begin learning about how to plot boxplot in R using ggplot2 For Best Course on Data Science Developed by Data Scientist ,please follow the below link to avail discount https://www.udemy.com/machine-learning-using-r/?couponCode=DISFOR123 Importing libraries Let’s import the ggplot2 library which is needed for ggplot visualization library(ggplot2) Reading data set Let’s import the data set named […]

## Barplot using ggplot2 in R

Introduction Let’s begin learning about how to plot barplot in R using ggplot2 Do you want to learn about how to make a barplot for any categorical variable using ggplot2 in R? If yes,then this is the right page for you.Follow this tutorial given below Importing libraries Let’s import the ggplot2 library which is needed […]

## Histogram for data analytics in R

Introduction Let’s begin learning about how to plot histogram in R using ggplot2 Importing libraries Let’s import the ggplot2 library which is needed for ggplot visualization library(ggplot2) Reading data set Let’s import the data set named “diamonds” into the data frame named “DataFrame” DataFrame<-diamonds Looking at data  Let’s check the str of the data set […]

## Scatter plot for Data Analytics in R

Introduction Let’s begin learning about how to plot scatter plot in R using ggplot2 Importing libraries Let’s import the ggplot2 library which is needed for ggplot visualization library(ggplot2) Reading data set Let’s import the data set named “diamonds” into the data frame named “DataFrame” DataFrame<-diamonds Looking at data  Let’s check the str of the data […]

## Density plot for data analytics in R

Introduction Let’s begin learning about how to plot density plot in R using ggplot2 Importing libraries Let’s import the ggplot2 library which is needed for ggplot visualization library(ggplot2) Reading data set Let’s import the data set named “diamonds” into the data frame named “DataFrame” DataFrame<-diamonds Looking at data  Let’s check the str of the data […]