
This lecture introduces what the course is about, how it is structured and the standard of coding you can expect to achieve from completing the course.
The downloadable handout contains the example code used in the lecture
Filtering (subsetting) data using dplyr filter function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Selecting variables (columns) in data using dplyr select function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Extracting rows in the data table using dplyr slice function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create new variables from existing variables using dplyr mutate function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Sort data using dplyr arrange function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Group variables for subsequent analysis using dplyr group_by
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create statistical summaries of data using dplyr summarise function
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Learn to use the magrittr forward pipe (%>%) to link code more efficiently
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Join different data sets using dplyr join functions
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Additional dplyr tools to rename column headers, find max/min values, deal with "NA" in statistical summarises and reorder columns in data
The concept of tidy data, with columns being variables, rows being observations and cells having individual values
Create tidy data by gathering a variable inappropriately spread out across multiple columns
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create tidy data by spreading out multiple variables inappropriately withing captured in a single column
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create tidy data by separating multiple values within a cell into individual cells
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Introduce the principles of constructing graphs using a ggplot function call
Using geometry commands to define the type of graph
Mapping the variables we want to plot to the geometry commands with the aesthetics function call
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create scatterplots using the geom_point() geometry command
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create boxplots using the geom_boxplot geometry command
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create barcharts using the geom_bar geomtery command
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create line charts using the geom_line geometry command
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Create a panel layout of graphs using the facet functions
The downloadable handout contains the example data, code used in the lecture and answers to the mini quiz
Additional tips in the ggplot function call sequence such as formatting labels, titles, axis scales and adding trendlines
Create beautiful graphics in ggplot2 with advanced graphics and the introduction of the ggpubr package
Take your R programming skills to the next level with this short course in data science using R's tidyverse packages! Learn to code efficiently and elegantly to tackle everyday data science challenges in business, finance, scientific research, engineering and more!
Do you feel you have a basic knowledge of R but don't yet have the tools or confidence to tackle everyday data science problems like plotting, summarising, sub-setting and merging data? Still turning to MS Excel to manipulate, format, and visualize data? Then look no further.
Aimed at beginners and intermediates who have a basic understanding of R, this course introduces some of the core tools of the tidyverse. It covers a step-by-step guide to the most important functions offered by some tidyverse packages, providing students with a comprehensive toolkit to address everyday data science tasks.
The course covers the following areas:
1) Data manipulation with dplyr (filtering, sorting, creating new variables, summarising data, joining data sets, selecting columns/rows)
2) Data reformatting with tidyr (gathering variables, spreading out variables, separating data in cells)
3) Data visualization with ggplot2 (scatterplots, boxplots, bar charts, line charts, panels, adding errorbars)
4) Linking code efficiently using the magrittr forward pipe operator
After completing the course, you will be confident to use R for your everyday data science tasks!