Duration
Introduction to R Programming for Beginners
5 days
Day 1: Introduction to R
- Introduction to R and RStudio
- Basics of R syntax and data types
- Introduction to variables and assignments
- Basic arithmetic operations in R
- Introduction to vectors and basic vector operations
Day 2: Data Structures in R
- Introduction to data structures: vectors, matrices, arrays
- Introduction to factors and data frames
- Manipulating data frames: subsetting, merging, and sorting
- Introduction to lists and their operations
- Working with missing values in R
Day 3: Control Structures and Functions
- Introduction to control structures: if-else statements, for and while loops
- Writing and using functions in R
- Introduction to apply family functions for efficient data manipulation
- Introduction to the concept of recursion
- Practice exercises on control structures and functions
Day 4: Data Visualization with ggplot2
- Introduction to data visualization in R
- Introduction to ggplot2 package
- Creating basic plots: scatter plots, line plots, bar plots
- Customizing plots: adding titles, labels, colors, and themes
- Creating multi-panel plots and faceting
Day 5: Data Manipulation with dplyr and Data Import/Export
- Introduction to data manipulation using dplyr package
- Data transformation: filtering, arranging, selecting, and summarizing data
- Introduction to piping (%>%) operator for chaining operations
- Importing data into R from various sources: CSV, Excel, databases
- Exporting data from R to different formats: CSV, Excel
Programme scope, delivery arrangements and suitability are confirmed during enquiry.