SlideShare a Scribd company logo
Lesson3
BASIC ANALYTIC TECHNIQUES – USING R
Part 1
● Get a basic introduction to R
● Understand exploration of data
● Explore data using R
● Visualize data using R
● Understand diagnostic analytics
● Implement diagnostic analytics using R
Objective Slide
After completing
this course, you will
be able to:
Copyright 2016,Beamsync, All rights reserved.
Introduction to R
• Programming language for graphics and statistical computations
• Available freely under the GNU public license
• Used in data mining and statistical analysis
• Included time series analysis, linear and non linear modeling among others
• Very active community and package contributions
• Very little programming language knowledge necessary
• Can be downloaded from http://www.r-project.org/
• R Studio - optional
Copyright 2016,Beamsync, All rights reserved.
• Packages -
• install.packages('package_name')
• library(package_name)
• Loading data –
• data(dataset_name)
• read and write functions
• getwd() and setwd(dir)
• read and write functions use full path name
• Example : read.csv(“C:/Rtutorials/Sampledata.csv”).
• Assignment operator : “ <- ”
• Help - ?function_name
Basic R
Copyright 2016,Beamsync, All rights reserved.
• Basic functions for data exploration in R
• Data stored as “data frames”
• Data frames – tabular representation of data with rows and columns
• Every row denotes a particular “case”
• Sample data frame (iris data set)
Data exploration using R
Sepallength Sepalwidth Petallength Petalwidth Species
7.9 3.8 6.4 2 I. virginica
7.7 3 6.1 2.3 I. virginica
5.6 2.5 3.9 1.1 I. versicolor
5.6 2.8 4.9 2 I. virginica
5.5 4.2 1.4 0.2 I. setosa
5.5 3.5 1.3 0.2 I. setosa
7.1 3 5.9 2.1 I. virginica
7 3.2 4.7 1.4 I. versicolor
Copyright 2016,Beamsync, All rights reserved.
• Iris dataset – built in
data frame
• View data set
• iris
• View first few rows of
the data set
• head(iris, n)
• View last few rows of
the data set
• tail(iris, n)
Viewing data frame
Copyright 2016,Beamsync, All rights reserved.
• View the dimensions of the data set
• dim(iris)
• View the number of columns
• ncol(iris)
• View the number of rows
• nrow(iris)
Dimensions of data frame
Copyright 2016,Beamsync, All rights reserved.
• View column names/headers
• names(iris)
• View all attributes
• attributes(iris)
Attributes of Data frame
Copyright 2016,Beamsync, All rights reserved.
• iris$Petal.Length
• iris* , “Petal.Length”+
View column data
Copyright 2016,Beamsync, All rights reserved.
Thank You
Beamsync is providing business analytics training in Bangalore along with
certification. If you are looking for upcoming training schedules then visit:
http://beamsync.com/business-analytics-training-bangalore/

More Related Content

PPTX
IPTC EXTRA and EXTRA+ November 2017
PPTX
The Use of Big Data Techniques for Digital Archiving
PPTX
IPTC EXTRA Spring 2018
PDF
SCAPE Information Day at BL - Characterising content in web archives with Nanite
PDF
A Framework for Multi-source Studies based on Unstructured Data.
PPT
A hint of_mint
PDF
Visualising Research Graph using Neo4j and Gephi
PPT
RO Advisory Kickoff Slides
IPTC EXTRA and EXTRA+ November 2017
The Use of Big Data Techniques for Digital Archiving
IPTC EXTRA Spring 2018
SCAPE Information Day at BL - Characterising content in web archives with Nanite
A Framework for Multi-source Studies based on Unstructured Data.
A hint of_mint
Visualising Research Graph using Neo4j and Gephi
RO Advisory Kickoff Slides

Viewers also liked (12)

PDF
R - Basic Introduction
PPTX
Introduction to Business Analytics Course Part 9
PDF
COMPANY PROFILE
PPTX
Introduction to Business Analytics Course Part 10
PPTX
Introduction to Business Analytics Course Part 7
PDF
R Markdown Tutorial For Beginners
PDF
RMySQL Tutorial For Beginners
PPTX
Introduction to Business Analytics Part 1
PPTX
Introduction to business analytics
PPTX
Tableau Software - Business Analytics and Data Visualization
PPT
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
PDF
Four ways data is improving healthcare operations
R - Basic Introduction
Introduction to Business Analytics Course Part 9
COMPANY PROFILE
Introduction to Business Analytics Course Part 10
Introduction to Business Analytics Course Part 7
R Markdown Tutorial For Beginners
RMySQL Tutorial For Beginners
Introduction to Business Analytics Part 1
Introduction to business analytics
Tableau Software - Business Analytics and Data Visualization
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Four ways data is improving healthcare operations
Ad

Similar to Basic Analytic Techniques - Using R Tool - Part 1 (20)

PDF
R programming & Machine Learning
PPTX
A Workshop on R
PDF
Machine Learning in R
PDF
A Simple Introduction to R for Market Researchers
PPTX
Data Exploration in R.pptx
PDF
R-Language-Lab-Manual-lab-1.pdf
PDF
R-Language-Lab-Manual-lab-1.pdf
PDF
R-Language-Lab-Manual-lab-1.pdf
PDF
محاضرة برنامج التحليل الكمي R program د.هديل القفيدي
PDF
01_introduction_lab.pdf
PPTX
2015-10-23_wim_davis_r_slides.pptx on consumer
PPT
Introduction to R for Data Science Technology
PDF
محاضرة برنامج التحليل الكمي R program د.هديل القفيدي
PPTX
Unit I - introduction to r language 2.pptx
PPT
How to obtain and install R.ppt
PDF
Introduction to Rstudio
PDF
Introduction to r studio on aws 2020 05_06
PPTX
Exploratory Data Analysis
PPT
PPT
Slides on introduction to R by ArinBasu MD
R programming & Machine Learning
A Workshop on R
Machine Learning in R
A Simple Introduction to R for Market Researchers
Data Exploration in R.pptx
R-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdf
R-Language-Lab-Manual-lab-1.pdf
محاضرة برنامج التحليل الكمي R program د.هديل القفيدي
01_introduction_lab.pdf
2015-10-23_wim_davis_r_slides.pptx on consumer
Introduction to R for Data Science Technology
محاضرة برنامج التحليل الكمي R program د.هديل القفيدي
Unit I - introduction to r language 2.pptx
How to obtain and install R.ppt
Introduction to Rstudio
Introduction to r studio on aws 2020 05_06
Exploratory Data Analysis
Slides on introduction to R by ArinBasu MD
Ad

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PDF
Pre independence Education in Inndia.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Structure & Organelles in detailed.
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
RMMM.pdf make it easy to upload and study
Pre independence Education in Inndia.pdf
01-Introduction-to-Information-Management.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPH.pptx obstetrics and gynecology in nursing
Supply Chain Operations Speaking Notes -ICLT Program
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Structure & Organelles in detailed.
Renaissance Architecture: A Journey from Faith to Humanism
Microbial diseases, their pathogenesis and prophylaxis
Final Presentation General Medicine 03-08-2024.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Microbial disease of the cardiovascular and lymphatic systems
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf

Basic Analytic Techniques - Using R Tool - Part 1

  • 2. ● Get a basic introduction to R ● Understand exploration of data ● Explore data using R ● Visualize data using R ● Understand diagnostic analytics ● Implement diagnostic analytics using R Objective Slide After completing this course, you will be able to: Copyright 2016,Beamsync, All rights reserved.
  • 3. Introduction to R • Programming language for graphics and statistical computations • Available freely under the GNU public license • Used in data mining and statistical analysis • Included time series analysis, linear and non linear modeling among others • Very active community and package contributions • Very little programming language knowledge necessary • Can be downloaded from http://www.r-project.org/ • R Studio - optional Copyright 2016,Beamsync, All rights reserved.
  • 4. • Packages - • install.packages('package_name') • library(package_name) • Loading data – • data(dataset_name) • read and write functions • getwd() and setwd(dir) • read and write functions use full path name • Example : read.csv(“C:/Rtutorials/Sampledata.csv”). • Assignment operator : “ <- ” • Help - ?function_name Basic R Copyright 2016,Beamsync, All rights reserved.
  • 5. • Basic functions for data exploration in R • Data stored as “data frames” • Data frames – tabular representation of data with rows and columns • Every row denotes a particular “case” • Sample data frame (iris data set) Data exploration using R Sepallength Sepalwidth Petallength Petalwidth Species 7.9 3.8 6.4 2 I. virginica 7.7 3 6.1 2.3 I. virginica 5.6 2.5 3.9 1.1 I. versicolor 5.6 2.8 4.9 2 I. virginica 5.5 4.2 1.4 0.2 I. setosa 5.5 3.5 1.3 0.2 I. setosa 7.1 3 5.9 2.1 I. virginica 7 3.2 4.7 1.4 I. versicolor Copyright 2016,Beamsync, All rights reserved.
  • 6. • Iris dataset – built in data frame • View data set • iris • View first few rows of the data set • head(iris, n) • View last few rows of the data set • tail(iris, n) Viewing data frame Copyright 2016,Beamsync, All rights reserved.
  • 7. • View the dimensions of the data set • dim(iris) • View the number of columns • ncol(iris) • View the number of rows • nrow(iris) Dimensions of data frame Copyright 2016,Beamsync, All rights reserved.
  • 8. • View column names/headers • names(iris) • View all attributes • attributes(iris) Attributes of Data frame Copyright 2016,Beamsync, All rights reserved.
  • 9. • iris$Petal.Length • iris* , “Petal.Length”+ View column data Copyright 2016,Beamsync, All rights reserved.
  • 10. Thank You Beamsync is providing business analytics training in Bangalore along with certification. If you are looking for upcoming training schedules then visit: http://beamsync.com/business-analytics-training-bangalore/