0% found this document useful (0 votes)
13 views29 pages

Business Analytics with R Workshop

This document provides information on a certified online workshop on business analytics using R that will take place from April 22-24, 2020 for MBA and MCOM students. The workshop consists of 6 sessions that will cover: (1) an introduction to R, (2) business data visualization using R, (3) business statistics using R, (4) time value of money and capital budgeting using R, (5) forecasting demand with time series using R, and (6) analyzing and visualizing recruitment data using R. The document provides contact information for the program director Kiran Kumar K V.

Uploaded by

net
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views29 pages

Business Analytics with R Workshop

This document provides information on a certified online workshop on business analytics using R that will take place from April 22-24, 2020 for MBA and MCOM students. The workshop consists of 6 sessions that will cover: (1) an introduction to R, (2) business data visualization using R, (3) business statistics using R, (4) time value of money and capital budgeting using R, (5) forecasting demand with time series using R, and (6) analyzing and visualizing recruitment data using R. The document provides contact information for the program director Kiran Kumar K V.

Uploaded by

net
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

BUSINESS ANALYTICS USING

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@[Link] | kirank@[Link]
[Link]/kirankvk | [Link]
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@[Link] | kirank@[Link]
[Link]/kirankvk | [Link]
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

Developed by Ross Lhaka & Robert Gentleman in 1993


Currently R is the 2nd most popular programming language in data
science
Famous because:
 Graphical Libraries
 Availability/Cost
 Continuous Advancement
 Job Scenario
 Customer Service Support and Community
 Portability
R TRIVIA

[Link]
WHY R?

[Link]
POPULAR COMPANIES USING
R

[Link]
FEW APPLICATIONS OF R
Banking & Fraud Detection, Reducing Customer Churn Rate, Financial Products
Finance Engineering, Stock Trading & Valuation

Bio-Technology Analyse genetic sequence trending, drug discovery, computations neuroscience

Social Media Digital Marketing Analytics, Customer Sentiment Analysis, Segmentation

E-Commerce Customer Data Analysis, Target Marketing, Vendor Analysis

Manufacturing Demand Forecasting, Production Optimisation


Companies
JOB ROLES FOR R
LITERATES

Financial Firms / Banks / Capital Market


Retail / FMCG / E-Commerce
Analytics / AI & ML / Research
IT Companies / Tech-enabled Services

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

CONSOLE Files/ Plots/


Packages/ Help
TYPES OF DATA IN R
Numeric - Numbers
Strings - Texts
Booleans – TRUE, FALSE
Vector - Lists
Data frame - Table
DEFINING VARIABLES,
LISTS, TABLE
<-
c ()
[Link]()
class ()
R AS A CALCULATOR
R AS A SMART CALCULATOR
R VECTORS / LISTS

c()
rep ()
seq ()
sqrt ()
R VECTORS / LISTS
IMPORT DATA FROM
OUTSIDE
getwd()
setwd ()
LOAD FILE INTO R

[Link]()
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)

6. Define a variable x and load a random number


7. Run If Else function to print if x is an even number

8. Load a Directory/Folder from you Computed into R


9. Load an Excel File into a R Project
LETS DO AN EXERCISE
1. Load dataset mtcars (Hint: mtcars is a dataset in built available in R)
2. I want to know the number of rows in mtcars dataset
3. I want to know the number of columns in mtcars dataset
4. I want to see the top 5 rows of the mtcars dataset
5. I want to see the bottom 5 rows of mtcars dataset
6. I want to know how many types of gears are there in mtcars
7. I want to see all details of the car Fiat 128
8. I want to see the rows 20 to 25
9. I want to see cyl and qsec details of the car Datsun 710
10. Rename the column 1 (mpg) as mileage
Kiran Kumar K V
Program Director | Associate Professor – Finance & Analytics
+91-99644-02318 | +91-70194-93813
kirankvk@[Link] | kirank@[Link]
[Link]/kirankvk | [Link]

You might also like