
R Programming Language
Master Building Statistical Apps and Data Science
What you'll learn
- Understand the R language and its uses
- Install R and RStudio
- Work with variables, vectors and matrices
- Create lists and factors
- Use IF, Else and functions
- Import data from CSV files
- Import and organize XLSX and XML files
- Draw pie charts and graphs
About this course
This course teaches the R programming language, an open-source programming environment for statistics, data analysis and data science. You start with an introduction to R and what it is, then installing R and RStudio and getting to know the program's main interface. Next you learn variables, vectors and matrices and how they are used, creating lists and factors, then the IF and Else statement and functions. You move on to importing data from files in CSV, XLSX and XML formats, translating and organizing it, then drawing pie charts and building a graph, and you finish with a summary of the course. The course suits anyone who wants to analyze data and work with statistics, including students, researchers and people interested in data science, and it needs no previous programming experience because it starts from installation. Afterward you will be able to write programs in R, import data from different files, process it and show it in clear charts. The teaching is in Arabic and gradual, and each lesson adds a new skill that the next lesson builds on.
Expected outcomes
- Master the fundamentals of programming with R.
- Analyze data using R tools.
- Create visual reports using charts.
- Import and process data from multiple sources.
Learner reviews
Course content
1R Programming Language
17 lectures
- Introduction to R LanguageIntroduction to a beginner R programming course starting from zero, covering statistical data analysis, installing packages and libraries in RStudio, variables, matrices and setting the working directory, with extra PDF files.1:51
- What is R LanguageDefines the R language and the benefits, strengths and weaknesses of learning it: open source, rich packages and libraries, popular in statistical computing and data analysis, high-quality charts, and compatible with other languages and operating systems.20:05
- Installing R and RStudioExplains downloading and installing R on Windows, then installing RStudio, getting to know the Console window and clearing it, and writing a first command, print, to confirm the environment works.13:44
- Familiarizing with the Official Interface of the ProgramIntroduces the RStudio interface and its panes: the console, the script editor, the Environment pane, the Files, Plots, Packages and Help tabs, and setting the Working Directory for file work.14:45
- Variables in R LanguageExplains variables in R: storing a value in memory with the equals sign or the arrow, checking the data type with class, the numeric, character and logical types, and basic arithmetic operations.12:01
- Vectors and Matrices and Their UsesExplains matrices in R: creating and naming them, retrieving a single value, a whole row or a whole column, naming rows and columns, and changing a value inside the matrix.21:36
- Creating Lists Using R Language (Part One)Introduces lists in R: creating and printing a list, generating a number sequence, retrieving an element by position, how a list differs from a matrix, and its ability to hold different data types.16:24
- Creating Lists Using R Language (Part Two)Continues with lists in R: naming elements and accessing them with the dollar sign, viewing the structure with str, and modifying, adding and deleting elements in a list.11:01
- Creating Factors Using RExplains factors in R, how to create them and view their levels, then how to use them inside a DataFrame with data such as height, weight and gender.14:27
- Understanding IF and ElseExplains the if and else decision statements in R through a student mark example: running one command when a condition holds and another when it does not, then chaining several conditions with else if to assign a grade.17:32
- Functions in R LanguageExplains functions in R: the concept, arguments and default values, creating a function and calling it, with examples such as generating a number sequence and calculating a salary with a bonus.15:31
- Importing Data from a CSV FileExplains importing data from a CSV file in R: setting the Working Directory, reading and printing the file with read.csv, viewing columns and rows, and extracting the highest salary and grouping by department.22:35
- Translating Data from a CSV Format FileExplains working with CSV data in R: filtering rows with conditions on salary, department and joining date using subset, then writing the result to a new CSV file.10:57
- Importing and Organizing an XLSX Format FileExplains importing Excel XLSX files in R: what packages are, installing the xlsx package with install.packages, creating an Excel file with sheets, and reading its data in RStudio.11:51
- Importing a File in XML FormatExplains importing XML files in R: the XML format and its similarity to HTML, installing and loading the XML package, then reading the input.xml file and printing its content.9:16
- Pie Charts in R LanguageExplains drawing pie charts in R: the vector of values, labels, colors, radius and title, and saving the chart to a png image file.12:27
- Graph Configuration and Course SummaryExplains drawing a histogram in R: function parameters such as the title, axis limits, breaks, and bar and border colors, then closes the course with a review of its main ideas.10:58
Instructor

Eng. Kanaan Al-Hallaj



