
Learn what a package is and why it saves time in R. Install and load packages in RStudio using the packages tab, install, and library to access functions and help.
Import and export data in RStudio by creating a CSV from spreadsheet software, configuring variables and observations, handling missing values, and visualizing and saving the transformed data in R.
Learn to work with vectors and data frames in R: create one-dimensional vectors with c(), subset with [ ], and build two-dimensional data frames as lists of equal-length vectors.
Explore data visualization fundamentals in R using plots and layered graphics based on the grammar of graphics, emphasizing complete, honest, clear, and comparable visuals with labels and titles.
Please visit ActEx website if you are interested in purchasing this textbook.
In under an hour we will cover the fundamentals of R programming. The first part of the video will be about understanding WHY we do things in R and then in the second part I will show you HOW to do things in R. We will cover the following topics:
Installing R & RStudio
Installing and Loading Packages
Tour of RStudio
Basic Maths Calculations in R
Importing and Exporting Data in R
Data Structures: Data Frames and Vectors
Graphs and Data Visualisation
Create your own Function in R
This course is designed for someone who is new to programming and each video is relatively straightforward. The last video is a bit more challenging as we cover loops within loops. But by the end of this course you will be comfortable with the basics of R and be ready to learn more advanced topics.
If you are one of my Actuarial Students, this course is compulsory.