January 14, 2017 Barplot

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 […]

Read more
January 14, 2017 k-means

K-means Clustering for Data Analytics in R

Introduction Here we will know about “how to perform k-means clustering in R” and “how to find best value of k in k-means clustering” Importing library Let’s open RStudio and follow along !! Let’s import the ggplot2 library which is needed for ggplot visualization library(ggplot2) Reading Dataset Let’s import the data set named ‚Äúiris‚ÄĚ into […]

Read more
January 14, 2017 correlation

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 […]

Read more
January 14, 2017 Pattern recognition

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 […]

Read more
January 3, 2017 Boxplot in R

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 […]

Read more
January 3, 2017 barplot using ggplot2

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 […]

Read more
January 2, 2017 Histogram for data analytics in R

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 […]

Read more
January 2, 2017 Scatter plot

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 […]

Read more
January 2, 2017 Density plot

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 […]

Read more