Business Analytics Using R: Certified Online Workshop
Business Analytics Using R: Certified Online Workshop
Business Analytics Using R: Certified Online Workshop
R
Coverage:
Certified Online Workshop Session-1. Introduction to R
22-24-April-2020 | MBA & MCOM Session-2. Business Data Visualisation using R
Session-3. Business Statistics using R
Session-4. Time Value of Money & Capital Budgeting using
Session-5. Forecasting Demand with Time Series using R
Session-6. Analyse & Visualise Recruitment Data using R
@
Kiran Kumar K V
Program Director | Associate Professor – Finance & Analytics
+91-99644-02318 | +91-70194-93813
kirankvk@gmail.com | kirank@fredindia.org
linkedin.com/kirankvk | fredindia.org
BUSINESS ANALYTICS USING
R
Certified Online Workshop Session-1
22-24-April-2020 | MBA & MCOM
Introduction to R
@
Kiran Kumar K V
Program Director | Associate Professor – Finance & Analytics
+91-99644-02318 | +91-70194-93813
kirankvk@gmail.com | kirank@fredindia.org
linkedin.com/kirankvk | fredindia.org
SOME GUIDELINES
Please MUTE your audios while the session is going on
Try to keep your questions towards the end & let them be general
During the session, if you have a point to make, use CHAT feature
If the session cuts/stops abruptly, you can REJOIN within one minute
The Slides and Video Recording will be shared with you by your department
OBJECTIVES OF THIS
SESSION
WHAT IS R?
R is an Open-source Programming Language for Analytical Operations
Data Manipulation
Calculations
Graphical Displays
Linear & non-Linear Modeling
https://data-flair.training/blogs/r-programming-language/
WHY R?
https://data-flair.training/blogs/why-learn-r/
POPULAR COMPANIES USING
R
https://data-flair.training/blogs/r-tutorial/
FEW APPLICATIONS OF R
Banking & Fraud Detection, Reducing Customer Churn Rate, Financial Products
Finance Engineering, Stock Trading & Valuation
https://data-flair.training/blogs/r-programming-language/
FEATURES OF R
R Scripts
R Graphical User Interface
R Studio
Installing R
Download & Install R
Download & Install R-Studio
Install R Packages
Scripting in R
print("Hello IFIM") + RUN
COMPONENTS OF R-STUDIO
SCRIPTS ENVIRONMENT
c()
rep ()
seq ()
sqrt ()
R VECTORS / LISTS
IMPORT DATA FROM
OUTSIDE
getwd()
setwd ()
LOAD FILE INTO R
read.csv()
head()
tail()
KNOWING THE TABLE SIZE
nrow()
ncol()
unique ()
SELECTING A ROW,
COLUMN, CELL/S
x[“columnname”]
x$Columnname
x[rownum,columnnum]
SELECTING A ROW,
COLUMN, CELL/S
RENAMING COLUMNS
colnames ()
rownames()
names()
USING IF ELSE FUNCTION
if (…..) {
……….
} else {
………..
}
WHAT DID WE DO
Components of R-Studio
Types of Data in R
Defining Variables, Lists, Tables
Using R as Calculator
R Vectors/Lists
Import Data from Outside
Loading Files into R
Knowing the Table Size
Selecting Row, Column, Cell/s
Renaming Columns
Using IF Else Function
LETS DO AN EXERCISE
1. Create a variable called myname and define your name as the input; Print myname
2. Create a list called mylist. Input the data as below
Alex, 5.11, Male, Basheer, 5.5, Male, Chaitra, 5.8, Female
3. Convert the mylist into a data frame with column headings name, height, gender; Print mylist
4. Create a list with below data – 11,12,13,14,15,16,17,18,19,20 (Hint: Use seq function)
5. Create a list with below data – 10, 20,30,40,50,60,70,80,90,100 (Hint: Use seq function)