SlideShare a Scribd company logo
1 of 10
Introduction to R Programming
Capacity building course for
Web Monitoring Group
Developed by
Victor Ordu
Prerequisites
a. Be able to see at a computer screen
b. Be able to hit the keys of a computer
keyboard
c. Be willing and eager to learn
d. Be adventurous and courageous
• R is a programming language
• developed in the 1980s for the purpose of
running statistical analyses
• has become a widely used tool by data
scientists and is growing in popularity.
Advantages
R is great because:
a. It is free
b. easy to download and install
c. has a vibrant global community
d. produces publication grade graphics
e. easy to learn
f. highly extensible (ask what this means!)
g. ensures reproducibility of results
h. encourages transparency in methodology
Disadvantages
R, like everything in life, has its own issues:
a. It has a steep learning curve i.e. difficult to
master
Solution: Practice, practice, practice!
b. It is a quirky language as it is not that
intuitive [e.g. in English – read (present
tense) and read (past tense)]
Solution: More practice!
R Console
• Operations in R are through a command line
interface (CLI)
• Different from point-and-click software
R-console
Prompt: You pass your instructions to the program here!
• When you type your code at the prompt you
hit ENTER key to run the code
• R reads code from left to right and from top to
bottom
Exercise
• Type in the following code and hit ENTER:
• NOTE: The prompt “>” only shows you where
to type.
• Now type ‘x’ again and hit ENTER
• Congrats, you have created an R object called
x containing data ranging from 1 to 10!
Conclusion
Welcome to the world of R!
Next topic will be on R Objects…

More Related Content

What's hot

Data Types and Structures in R
Data Types and Structures in RData Types and Structures in R
Data Types and Structures in RRupak Roy
 
2 R Tutorial Programming
2 R Tutorial Programming2 R Tutorial Programming
2 R Tutorial ProgrammingSakthi Dasans
 
Introduction to R
Introduction to RIntroduction to R
Introduction to RAjay Ohri
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R StudioRupak Roy
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with RShareThis
 
R Introduction
R IntroductionR Introduction
R Introductionschamber
 
How to get started with R programming
How to get started with R programmingHow to get started with R programming
How to get started with R programmingRamon Salazar
 
Workshop presentation hands on r programming
Workshop presentation hands on r programmingWorkshop presentation hands on r programming
Workshop presentation hands on r programmingNimrita Koul
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using RVictoria López
 
R Programming Language
R Programming LanguageR Programming Language
R Programming LanguageNareshKarela1
 
R language tutorial
R language tutorialR language tutorial
R language tutorialDavid Chiu
 
Python vs. r for data science
Python vs. r for data sciencePython vs. r for data science
Python vs. r for data scienceHugo Shi
 
Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2izahn
 

What's hot (20)

Step By Step Guide to Learn R
Step By Step Guide to Learn RStep By Step Guide to Learn R
Step By Step Guide to Learn R
 
R programming
R programmingR programming
R programming
 
Data Types and Structures in R
Data Types and Structures in RData Types and Structures in R
Data Types and Structures in R
 
R programming
R programmingR programming
R programming
 
2 R Tutorial Programming
2 R Tutorial Programming2 R Tutorial Programming
2 R Tutorial Programming
 
R Programming
R ProgrammingR Programming
R Programming
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
R programming
R programmingR programming
R programming
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
 
R studio
R studio R studio
R studio
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
 
R Introduction
R IntroductionR Introduction
R Introduction
 
How to get started with R programming
How to get started with R programmingHow to get started with R programming
How to get started with R programming
 
Workshop presentation hands on r programming
Workshop presentation hands on r programmingWorkshop presentation hands on r programming
Workshop presentation hands on r programming
 
R programming Language
R programming LanguageR programming Language
R programming Language
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using R
 
R Programming Language
R Programming LanguageR Programming Language
R Programming Language
 
R language tutorial
R language tutorialR language tutorial
R language tutorial
 
Python vs. r for data science
Python vs. r for data sciencePython vs. r for data science
Python vs. r for data science
 
Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2
 

Viewers also liked

Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Mark Heckmann
 
Neural networks1
Neural networks1Neural networks1
Neural networks1Mohan Raj
 
The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)Oliver Culley
 
Getting Functional with Scala
Getting Functional with ScalaGetting Functional with Scala
Getting Functional with ScalaJorge Paez
 
R programming language
R programming languageR programming language
R programming languageKeerti Verma
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statisticsArchana M
 
An Introduction to Neural Networks and Machine Learning
An Introduction to Neural Networks and Machine LearningAn Introduction to Neural Networks and Machine Learning
An Introduction to Neural Networks and Machine LearningChris Nicholls
 
Lecture 30 introduction to logic
Lecture 30 introduction to logicLecture 30 introduction to logic
Lecture 30 introduction to logicHema Kashyap
 
Presentation on forecasting
Presentation on forecasting Presentation on forecasting
Presentation on forecasting Muhammad Sharjeel
 
Discrete mathematics by Seerat Abbas khan
Discrete mathematics by Seerat Abbas khanDiscrete mathematics by Seerat Abbas khan
Discrete mathematics by Seerat Abbas khanSeerat Abbas Khan
 
Machine Learning using Support Vector Machine
Machine Learning using Support Vector MachineMachine Learning using Support Vector Machine
Machine Learning using Support Vector MachineMohsin Ul Haq
 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R Rachana Taneja Bhatia
 

Viewers also liked (16)

Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009
 
Neural networks1
Neural networks1Neural networks1
Neural networks1
 
Simulation presentation
Simulation presentationSimulation presentation
Simulation presentation
 
Programming in R
Programming in RProgramming in R
Programming in R
 
An Intoduction to R
An Intoduction to RAn Intoduction to R
An Intoduction to R
 
The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)
 
Getting Functional with Scala
Getting Functional with ScalaGetting Functional with Scala
Getting Functional with Scala
 
R programming language
R programming languageR programming language
R programming language
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
 
An Introduction to Neural Networks and Machine Learning
An Introduction to Neural Networks and Machine LearningAn Introduction to Neural Networks and Machine Learning
An Introduction to Neural Networks and Machine Learning
 
Lecture 30 introduction to logic
Lecture 30 introduction to logicLecture 30 introduction to logic
Lecture 30 introduction to logic
 
Presentation on forecasting
Presentation on forecasting Presentation on forecasting
Presentation on forecasting
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
Discrete mathematics by Seerat Abbas khan
Discrete mathematics by Seerat Abbas khanDiscrete mathematics by Seerat Abbas khan
Discrete mathematics by Seerat Abbas khan
 
Machine Learning using Support Vector Machine
Machine Learning using Support Vector MachineMachine Learning using Support Vector Machine
Machine Learning using Support Vector Machine
 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R
 

Similar to Introduction to R programming

Day 1 - Introduction to C.pptx
Day 1 - Introduction to C.pptxDay 1 - Introduction to C.pptx
Day 1 - Introduction to C.pptxDivyeshWakhariya
 
All You Need To Know About C Program Assignment Help.pdf
All You Need To Know About C Program Assignment Help.pdfAll You Need To Know About C Program Assignment Help.pdf
All You Need To Know About C Program Assignment Help.pdfBrad Smith
 
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptx
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptxADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptx
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptxRickyLoberiano
 
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTREC & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTREjatin batra
 
history and evaluation of java.pptx
history and evaluation of java.pptxhistory and evaluation of java.pptx
history and evaluation of java.pptxBHARATH KUMAR
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 
Get Ahead in Tech with Our C Language Training Program.pptx
Get Ahead in Tech with Our C Language Training Program.pptxGet Ahead in Tech with Our C Language Training Program.pptx
Get Ahead in Tech with Our C Language Training Program.pptxSaniyaSharma28
 
Presentation
PresentationPresentation
Presentationbhasula
 
CSC 404 | Final Presentation
CSC 404 | Final PresentationCSC 404 | Final Presentation
CSC 404 | Final PresentationFrances Coronel
 
An introduction to python | Python Assignment Help
An introduction to python | Python Assignment HelpAn introduction to python | Python Assignment Help
An introduction to python | Python Assignment HelpSample Assignment
 

Similar to Introduction to R programming (20)

C PROGRAMME.ppt
C PROGRAMME.pptC PROGRAMME.ppt
C PROGRAMME.ppt
 
Day 1 - Introduction to C.pptx
Day 1 - Introduction to C.pptxDay 1 - Introduction to C.pptx
Day 1 - Introduction to C.pptx
 
All You Need To Know About C Program Assignment Help.pdf
All You Need To Know About C Program Assignment Help.pdfAll You Need To Know About C Program Assignment Help.pdf
All You Need To Know About C Program Assignment Help.pdf
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
C#.pptx
C#.pptxC#.pptx
C#.pptx
 
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptx
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptxADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptx
ADVANCED PROGRAMMING TECHNOLOGIES NOWADAYS - Copy.pptx
 
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTREC & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
 
history and evaluation of java.pptx
history and evaluation of java.pptxhistory and evaluation of java.pptx
history and evaluation of java.pptx
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Get Ahead in Tech with Our C Language Training Program.pptx
Get Ahead in Tech with Our C Language Training Program.pptxGet Ahead in Tech with Our C Language Training Program.pptx
Get Ahead in Tech with Our C Language Training Program.pptx
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
Presentation
PresentationPresentation
Presentation
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Introduction C Programming
Introduction C Programming Introduction C Programming
Introduction C Programming
 
Introduction
IntroductionIntroduction
Introduction
 
The importance of C#
The importance of C#The importance of C#
The importance of C#
 
CSC 404 | Final Presentation
CSC 404 | Final PresentationCSC 404 | Final Presentation
CSC 404 | Final Presentation
 
An introduction to python | Python Assignment Help
An introduction to python | Python Assignment HelpAn introduction to python | Python Assignment Help
An introduction to python | Python Assignment Help
 
Top Hottest Programm Language.pdf
Top Hottest Programm Language.pdfTop Hottest Programm Language.pdf
Top Hottest Programm Language.pdf
 

More from Victor Ordu

R data-structures-3
R data-structures-3R data-structures-3
R data-structures-3Victor Ordu
 
R data structures-2
R data structures-2R data structures-2
R data structures-2Victor Ordu
 
R Data Structures (Part 1)
R Data Structures (Part 1)R Data Structures (Part 1)
R Data Structures (Part 1)Victor Ordu
 
NV20:2020 The First Implementation Plan (2010 - 2013) - Presented by Hon. M...
NV20:2020   The First Implementation Plan (2010 - 2013) - Presented by Hon. M...NV20:2020   The First Implementation Plan (2010 - 2013) - Presented by Hon. M...
NV20:2020 The First Implementation Plan (2010 - 2013) - Presented by Hon. M...Victor Ordu
 
Primary Postpartum Haemorrhage
Primary Postpartum HaemorrhagePrimary Postpartum Haemorrhage
Primary Postpartum HaemorrhageVictor Ordu
 

More from Victor Ordu (6)

R data-structures-3
R data-structures-3R data-structures-3
R data-structures-3
 
R data structures-2
R data structures-2R data structures-2
R data structures-2
 
R Data Structures (Part 1)
R Data Structures (Part 1)R Data Structures (Part 1)
R Data Structures (Part 1)
 
NV20:2020 The First Implementation Plan (2010 - 2013) - Presented by Hon. M...
NV20:2020   The First Implementation Plan (2010 - 2013) - Presented by Hon. M...NV20:2020   The First Implementation Plan (2010 - 2013) - Presented by Hon. M...
NV20:2020 The First Implementation Plan (2010 - 2013) - Presented by Hon. M...
 
Primary Postpartum Haemorrhage
Primary Postpartum HaemorrhagePrimary Postpartum Haemorrhage
Primary Postpartum Haemorrhage
 
Malaria
MalariaMalaria
Malaria
 

Recently uploaded

In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabiaahmedjiabur940
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制vexqp
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1ranjankumarbehera14
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制vexqp
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjurptikerjasaptiker
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangeThinkInnovation
 
PLE-statistics document for primary schs
PLE-statistics document for primary schsPLE-statistics document for primary schs
PLE-statistics document for primary schscnajjemba
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.pptibrahimabdi22
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxParas Gupta
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareGraham Ware
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格q6pzkpark
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制vexqp
 
Data Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdfData Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdftheeltifs
 
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptxThe-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptxVivek487417
 

Recently uploaded (20)

In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
PLE-statistics document for primary schs
PLE-statistics document for primary schsPLE-statistics document for primary schs
PLE-statistics document for primary schs
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Data Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdfData Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdf
 
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptxThe-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
 

Introduction to R programming

  • 1. Introduction to R Programming Capacity building course for Web Monitoring Group Developed by Victor Ordu
  • 2. Prerequisites a. Be able to see at a computer screen b. Be able to hit the keys of a computer keyboard c. Be willing and eager to learn d. Be adventurous and courageous
  • 3. • R is a programming language • developed in the 1980s for the purpose of running statistical analyses • has become a widely used tool by data scientists and is growing in popularity.
  • 4. Advantages R is great because: a. It is free b. easy to download and install c. has a vibrant global community d. produces publication grade graphics e. easy to learn f. highly extensible (ask what this means!) g. ensures reproducibility of results h. encourages transparency in methodology
  • 5. Disadvantages R, like everything in life, has its own issues: a. It has a steep learning curve i.e. difficult to master Solution: Practice, practice, practice! b. It is a quirky language as it is not that intuitive [e.g. in English – read (present tense) and read (past tense)] Solution: More practice!
  • 6. R Console • Operations in R are through a command line interface (CLI) • Different from point-and-click software
  • 7. R-console Prompt: You pass your instructions to the program here!
  • 8. • When you type your code at the prompt you hit ENTER key to run the code • R reads code from left to right and from top to bottom
  • 9. Exercise • Type in the following code and hit ENTER: • NOTE: The prompt “>” only shows you where to type. • Now type ‘x’ again and hit ENTER • Congrats, you have created an R object called x containing data ranging from 1 to 10!
  • 10. Conclusion Welcome to the world of R! Next topic will be on R Objects…