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

Introduction to R Programming Basics

The document is an introduction to the R programming language, detailing its advantages over SPSS, including flexibility, a wide range of statistical packages, and strong data visualization capabilities. It provides instructions for downloading R and R Studio, as well as information on importing various file formats. Additionally, it emphasizes R's active user community and its promotion of reproducible research.

Uploaded by

ebaadhassan87
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 views10 pages

Introduction to R Programming Basics

The document is an introduction to the R programming language, detailing its advantages over SPSS, including flexibility, a wide range of statistical packages, and strong data visualization capabilities. It provides instructions for downloading R and R Studio, as well as information on importing various file formats. Additionally, it emphasizes R's active user community and its promotion of reproducible research.

Uploaded by

ebaadhassan87
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

Introduction to R

R BY D R T E H S E E N H A I D E R
CONTENTS:
• What is R
• How to download R, R studio, R tools
• R packages
• Import data set
• Va r i a b l e s
• A r i t h m a ti c o p e r a ti o n s
• Data structure
R Language
• The R language was designed with
computational statistics in mind. In its
simplest form, it can be run from your
operating system's command line or from
the R console.
• However, I recommend using R from the
convenience of an integrated development
environment (IDE), such as Studio.
• An IDE is a programming environment that
offers tools such as project management,
tabs for easily managing multiple script
files, and additional developer tools.
• We discuss the layout of the Studio IDE in
more detail in the next section..
Add a footer 3
FR

Advantages of R
over SPSS
1. Flexibility:

R allows for more customization and


flexibility in data analysis compared to
SPSS.

Add a footer 4
FR

2 . W i d e r a n g e o f s t a ti s ti c a l
packages:

• R offers a vast collection of packages


for various statistical analyses,
making it suitable for a wide range
of research needs.

3. Free and open-source:

• R is free to use, which can be a


significant advantage for researchers
and students on a budget

Add a footer 5
FR

4 . A c ti v e u s e r c o m m u n i t y :

• R has a large and active community


of users who contribute to its
development, provide support, and
share resources.

5 . D a t a v i s u a l i z a ti o n c a p a b i l i ti e s :

• R has robust data visualization


packages, such as ggplot2, which
allow for the creation of high-quality
and customizable plots and graphs.

Add a footer 6
FR

6. Reproducibility:

• R promotes reproducible research


by providing tools for documenting
and sharing code, making it easier
to reproduce and verify results.

Add a footer 7
R and R Studio?
Step 1:

• Download R
• [Link]

Step 2:
• Download R Studio:
We will then introduce the RStudio (RStudio Team, 2021)
application, which is an integrated development
environment that enables you to easily and productively
conduct computational analyses using the R language.
• [Link]

Add a footer 8
FR
File Import in R

FILE FORMAT PACKAGE REQD

TEXT .txt Base

CSV .csv Readxil

EXCEL .xls / .xlsx Readr

SPSS .sav / .sas / .dta Haven

Anything in
Free Base
spreadsheet

Add a footer 9
Thank You.
R

You might also like