SlideShare a Scribd company logo
Prepared By –
Abhishek Pratap Singh
B.Tech. I.T. – 4th Sem.
Roll No. 03
Presented To –
Mr. Ashu Sharma
WEBSITE
edX
www.edx.org
Trainer: Mr. Filip Schounwenaars
What is R?
• Language for Statistical Computing
• Ihaka & Gentleman
• Auckland, New Zealand
• Open-source implementation of S
• Statistical Techniques
• Visualization Capabilities
• Highly Extensible
Important features of R
 R is a well-developed, simple and effective programming
language which includes conditionals, loops, user defined
recursive functions and input and output facilities.
 R has an effective data handling and storage facility,
 R provides a suite of operators for calculations on arrays,
lists, vectors and matrices.
 R provides a large, coherent and integrated collection of
tools for data analysis.
 R provides graphical facilities for data analysis and
display either directly at the computer or printing at the
papers.
Why R?
Module - 1
R: The True Basics
What is R?
Advantages &
Disadvantages
Console
Variables
Workspace
R Scripts
Comments #
Module - 2
Basic Data Types
Logical
Numeric
Character
Other Atomic Types
Coercion
Module – 3
Create And Name Vectors
Vector
Create a Vector
Name a Vector
Single Value = Vector
Vectors are
Homogenous
Coercion for Vectors
Module - 4
Vector Arithmetic
Vector Arithmetic
Element-wise
‘sum( )’ and ‘>’
Operations
Module - 5
Subsetting vectors
Subset by Index
Subset by Name
Subset Multiple
Elements
Subset All but Some
Subset using Logical
Vectors
Module - 6
Create & Name Matrices
Matrix
Create a Matrix:
matrix ( )
Create a Matrix:
Recycling
‘rbind( )’ , ‘cbind( )’
Naming a Matrix:
‘rownames( )’,
‘colnames( )’
Module – 7
Subsetting Matrices
Subset Element
Subset Multiple
Elements
Subset by Name
Subset by Logicals
Subsetting Cautions
Module - 8
Matrix Arithmetic
Matrix Arithmetic
‘lotr_matrix’
Matrix – Scalar
Matrix – Matrix
Recycling
Matrix Multiplication
Matrices and Vectors
Module - 9
Factors
Categorical Variables
Create Vector:
factor( )
Order Levels
Differently
Rename Factor Levels
Nominal versus Ordinal
Ordered Vector
Wrap Up
Module - 10
Create and Name Lists
Vector - Matrix - List
Create a List
‘list ( )’
Name List
‘str( )’
List in List
Module - 11
Subset And Extend List
Subsetting Lists
‘[’ versus ‘[[’
Subset by Names
Subset by Logicals
‘$’ and Extending
Extending Lists
Wrap UP
R Programming

More Related Content

PPTX
Introduction to R programming
PPT
R studio
PPTX
R programming presentation
PDF
Introduction to R and R Studio
PPTX
Data analysis with R
PDF
Introduction to R Graphics with ggplot2
PPTX
Unit 1 - R Programming (Part 2).pptx
PDF
2 R Tutorial Programming
Introduction to R programming
R studio
R programming presentation
Introduction to R and R Studio
Data analysis with R
Introduction to R Graphics with ggplot2
Unit 1 - R Programming (Part 2).pptx
2 R Tutorial Programming

What's hot (20)

PPTX
Algorithmic Software Cost Estimation V2(1) (1).pptx
PDF
Requirement Engineering
PDF
software engineering
PDF
Spm life cycle phase
PDF
Data Visualization With R
PPTX
Some Size factors in software engineering
PPTX
Getting Started with R
PPTX
R programming
PDF
Introduction to R
PDF
Software requirements
PDF
02 Machine Learning - Introduction probability
ODP
Evolutionary process models se.ppt
PPT
Software Quality Metrics
PDF
Software project management
PDF
Machine Learning in R
PPTX
Data mining tools overall
PPT
Rational Unified Process
PPTX
Algorithmic Software Cost Modeling
PPTX
Halsted’s Software Science-An analytical technique
PDF
Python final ppt
Algorithmic Software Cost Estimation V2(1) (1).pptx
Requirement Engineering
software engineering
Spm life cycle phase
Data Visualization With R
Some Size factors in software engineering
Getting Started with R
R programming
Introduction to R
Software requirements
02 Machine Learning - Introduction probability
Evolutionary process models se.ppt
Software Quality Metrics
Software project management
Machine Learning in R
Data mining tools overall
Rational Unified Process
Algorithmic Software Cost Modeling
Halsted’s Software Science-An analytical technique
Python final ppt
Ad

Similar to R Programming (20)

PPT
R programming
PPTX
1_Introduction.pptx
PPT
Information technology Researhc Tools in IT
PPTX
LSESU a Taste of R Language Workshop
PDF
statistical computation using R- report
PPTX
R programming Language
PPT
IT_Tools_in_Research.ppt
PPTX
R Programming Language
PDF
THE RESUME GURURAJ
PPTX
R programming Language , Rahul Singh
PPTX
R basics for MBA Students[1].pptx
PDF
Programming for Problem Solving
PDF
Predictive Analysis using Microsoft SQL Server R Services
PDF
PPTX
Introduction to popular data science tools such as R, and SQL
PPTX
DOC-20240829-WA0001 power point presentation
DOC
HemantKumarSharma_v1.1
PPTX
DATA MINING USING R (1).pptx
PPTX
DLA rapid prototype
PPTX
Big data analytics with R tool.pptx
R programming
1_Introduction.pptx
Information technology Researhc Tools in IT
LSESU a Taste of R Language Workshop
statistical computation using R- report
R programming Language
IT_Tools_in_Research.ppt
R Programming Language
THE RESUME GURURAJ
R programming Language , Rahul Singh
R basics for MBA Students[1].pptx
Programming for Problem Solving
Predictive Analysis using Microsoft SQL Server R Services
Introduction to popular data science tools such as R, and SQL
DOC-20240829-WA0001 power point presentation
HemantKumarSharma_v1.1
DATA MINING USING R (1).pptx
DLA rapid prototype
Big data analytics with R tool.pptx
Ad

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
PPTX
Pharma ospi slides which help in ospi learning
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Basic Mud Logging Guide for educational purpose
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india
Pharma ospi slides which help in ospi learning
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
VCE English Exam - Section C Student Revision Booklet
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Microbial disease of the cardiovascular and lymphatic systems
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Basic Mud Logging Guide for educational purpose
Insiders guide to clinical Medicine.pdf
Institutional Correction lecture only . . .
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx

R Programming

  • 1. Prepared By – Abhishek Pratap Singh B.Tech. I.T. – 4th Sem. Roll No. 03 Presented To – Mr. Ashu Sharma
  • 3. What is R? • Language for Statistical Computing • Ihaka & Gentleman • Auckland, New Zealand • Open-source implementation of S • Statistical Techniques • Visualization Capabilities • Highly Extensible
  • 4. Important features of R  R is a well-developed, simple and effective programming language which includes conditionals, loops, user defined recursive functions and input and output facilities.  R has an effective data handling and storage facility,  R provides a suite of operators for calculations on arrays, lists, vectors and matrices.  R provides a large, coherent and integrated collection of tools for data analysis.  R provides graphical facilities for data analysis and display either directly at the computer or printing at the papers.
  • 6. Module - 1 R: The True Basics What is R? Advantages & Disadvantages Console Variables Workspace R Scripts Comments #
  • 7. Module - 2 Basic Data Types Logical Numeric Character Other Atomic Types Coercion
  • 8. Module – 3 Create And Name Vectors Vector Create a Vector Name a Vector Single Value = Vector Vectors are Homogenous Coercion for Vectors
  • 9. Module - 4 Vector Arithmetic Vector Arithmetic Element-wise ‘sum( )’ and ‘>’ Operations
  • 10. Module - 5 Subsetting vectors Subset by Index Subset by Name Subset Multiple Elements Subset All but Some Subset using Logical Vectors
  • 11. Module - 6 Create & Name Matrices Matrix Create a Matrix: matrix ( ) Create a Matrix: Recycling ‘rbind( )’ , ‘cbind( )’ Naming a Matrix: ‘rownames( )’, ‘colnames( )’
  • 12. Module – 7 Subsetting Matrices Subset Element Subset Multiple Elements Subset by Name Subset by Logicals Subsetting Cautions
  • 13. Module - 8 Matrix Arithmetic Matrix Arithmetic ‘lotr_matrix’ Matrix – Scalar Matrix – Matrix Recycling Matrix Multiplication Matrices and Vectors
  • 14. Module - 9 Factors Categorical Variables Create Vector: factor( ) Order Levels Differently Rename Factor Levels Nominal versus Ordinal Ordered Vector Wrap Up
  • 15. Module - 10 Create and Name Lists Vector - Matrix - List Create a List ‘list ( )’ Name List ‘str( )’ List in List
  • 16. Module - 11 Subset And Extend List Subsetting Lists ‘[’ versus ‘[[’ Subset by Names Subset by Logicals ‘$’ and Extending Extending Lists Wrap UP