Summary and Schedule
This is a new lesson built with The Carpentries Workbench.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Introduction to R and RStudio |
How to find your way around RStudio? How to interact with R? How to organise your project files? How to install packages? |
Duration: 00h 49m | 2. Visualisation with ggplot2 |
How do I access my data in R? How do I visualise my data with ggplot2? |
Duration: 01h 57m | 3. Subsetting data with dplyr |
How can I subset the number of columns in my data set? How can I reduce the number of rows in my data set? |
Duration: 03h 09m | 4. Data sorting and pipes dplyr |
How can I sort the rows in my data? How can I avoid storing intermediate data objects? |
Duration: 04h 16m | 5. Data manipulation with dplyr |
How can I change the colour in my plots? How can I change the general look of my plot? |
Duration: 05h 21m | 6. Data manipulation with dplyr |
How can I add variables to my data? How can I alter the variables already in my data? |
Duration: 06h 26m | 7. Reshaping data with tidyr |
How can I make my data into a longer format? How can I get my data into a wider format? |
Duration: 07h 32m | 8. Data summaries with dplyr |
How can I create summary tables of my data? How can I create different types of summaries based on groups in my data? |
Duration: 08h 40m | 9. Complex data pipelines |
How can I combine everything I’ve learned so far? How can I get my data into a wider format? |
Duration: 09h 47m | 10. Data manipulation across columns |
How can I calculate the mean of several columns for every row of data? How can I apply the same function across several related columns? |
Duration: 10h 38m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Software Setup
You can watch the YouTube video tutorial for complete instructions.
-
Install R by downloading and running this .exe file from CRAN.
-
Please, also install Rtools
- Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on
.exe
file and select “Run as administrator” instead of double-clicking). Otherwise problems may occur later, for example when installing R packages.
- Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on
Follow the video tutorial for detailed instructions.
- Install R by downloading and running this .pkg file from CRAN
- You can download the binary files for your distribution from [CRAN](http://cran.r-project.org/index.html
Or
- you can use your package manager (e.g. for Debian/Ubuntu
sudo apt-get install r-base
- for Fedora run
sudo dnf install R
There are some extra things to install for all operating systems.
Please install the RStudio IDE. It is the user interface towards R, and is required for this workshop.
Lastly, you will need to install two packages to join the workshop, namely the {tidyverse} and {palmerpenguins} packages. You can do this by opening RStudio, and in the panel labelled “console” (usually in the bottom left corner), type the following:
R
install.packages(c("tidyverse", "palmerpenguins"))