R Language for The Project Management Course — AUG University “part 1”

INTRODUCTION

This is a series of articles to clarify a part of the project management course which is about R language.

Whats is R Language?

R is a programing language used for statistical computing and graph represention.

What are the uses of R?

  1. R is used in many fields like data science, machine learning, and data analysis.

What is the difference between R and excel?

  1. Complex things in excel can be easy in R
  2. R supports large datasets, unlike Excel, which is not suitable for processing large datasets.
  3. There is a charge for genuine Excel, unlike R, which is free and open-source.

Input in R:

First, the vector is a list of items that are of the same type. We combine them in c function, for instance, here we create a vector called data that combines numerical type.

data <- c(1,2,3,4,5)

Note: we can combine any type of data inside the c() function.

Read from Excel:

We use the “readxl” package to import excel files. After preparing your excel file and installing the readxl package, follow these steps:

  1. import the “readxl” package like this:
library("readxl")

2. specify the sheet

input <- read_execl("E:/data/example.xlsx", col_names= True, sheet = "sheet1")

"E:/data/example.xlsx" is the path of the sheet

sheet = "sheet1" is the name of the sheet

col_names = Ture means use the first row as col_names.

You can see part 2 from Here.

See you in the next part;)

--

--

--

Hunger for Knowledge, adventure, and risk enthusiastic. Software engineering student

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Yay! New Chrome Extension to measure Core Web Vitals

Don’t Fight Your Slope: a Day 3 Skier’s Advice to a Day 4 Skier

The Differences Between Kubernetes and Openshift

DirectoryPRO — AIT Themes [Latest Update & Pre-Licensed]

Gitty Up, Let’s Go!

ReactJS + Python Flask on Heroku

How DevOps metrics can help to improve Team Productivity?

Laravel Pagination Usage Tutorial( Custom ) 2020

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hadeel Salah

Hadeel Salah

Hunger for Knowledge, adventure, and risk enthusiastic. Software engineering student

More from Medium

Chi Square & Fisher Exact in R

Animating Covid-19 progress and variants over time

Modern Portfolio Theory in R

Principal Components Analysis (PCA) using R programming.