Data Science & Machine Learning – R Data Visualization Basics – DIY- 9 -of-50

Data Science & Machine Learning – R Data Visualization Basics – DIY- 9 -of-50
Do it yourself Tutorial
by
Bharati DW Consultancy
cell: +1-562-646-6746 (Cell & Whatsapp)
email: info@bharaticonsultancy.in
bharati.dwconsultancy@gmail.com
website:

Google Drive-

R – Data Visualization – boxplot
The boxplot() function – displays the center & spread of a numeric variable.
Shows the spread of the data, with median denoted by a solid black line.
boxplot(loadmycsv$Inventory)
boxplot(loadmycsv$Inventory, main=”My Chart”)
boxplot(loadmycsv$Inventory, main=”My Chart”,ylab=”Inventory (x10 lbs)”)
boxplot(loadmycsv$Price, main=”My Chart”,ylab=”Price ($$)”)
boxplot(csv$Price, main=”My Chart”,ylab=”Price ($$)”, xlab=”My x axis”)

R – Data Visualization – Histogram
The hist() function – displays the frequency of occurrence of a numeric value.
Shows the data in groups called as Bins.
hist(loadmycsv$Inventory)
hist(loadmycsv$Inventory, main=”My Chart”)
hist(loadmycsv$Inventory, main=”My Chart”,xlab=”Inventory (x10 lbs)”)
hist(loadmycsv$Price, main=”My Chart”,ylab=”Price ($$)”)

R – Data Visualization – plot/Scatterplot.
The plot() function – plots a 2 dimensional graph.
A Scatterplot shows bivariate relationship.
plot(x=MyDF_cust$age, y=MyDF_cust$SalesAmt, xlab = “Age”,ylab=“Income”)

Hands On – R Machine Learning Ex-8
Read the Customer_Age_Income.csv file in a dataframe MyDF_CAI.
Calculate standard deviation on the age.
Save the MyDF_cust dataframe as MyDF_cust.csv
Create Graphs for boxplot, histogram, and scatterplot for MyDF_CAI – age, income, SalesAmt.

Data Science & Machine Learning – Getting Started – DIY- 1 -of-50
Data Science & Machine Learning – R Data Structures – DIY- 2 -of-50
Data Science & Machine Learning – R Data Structures – Factors – DIY- 3 -of-50
Data Science & Machine Learning – R Data Structures – List & Matrices – DIY- 4 -of-50
Data Science & Machine Learning – R Data Structures – Data Frames – DIY- 5 -of-50
Data Science & Machine Learning – Frequently used R commands – DIY- 6 -of-50
Data Science & Machine Learning – Frequently used R commands contd – DIY- 7 -of-50
Data Science & Machine Learning – Installing RStudio- DIY- 8 -of-50
Data Science & Machine Learning – R Data Visualization Basics – DIY- 9 -of-50

machine learning, data science, R programming, Deep Learning, Regression, Neural Network, R Data Structures, Data Frame