This introduction to R charting using ggplot2 is suitable for those who have completed the Intro R training or have at least reached an equivalent standard to having done this.
You will find the following documents useful:
- The session presentation
- R_code_participant.R - this script contains the code used in the training session
This training session is run in person/over Teams every few months. Alternatively, you can go through this material in your own time - you can find recordings of a previous session here. If you work through the material by yourself please leave feedback about the material here.
Please contact Aidan Mews if you have any questions.
- Ensure you have access to the Analytical Platform.
- Ensure you have linked RStudio and GitHub with an SSH key.
- Clone the R Charting repo as an RStudio project.
- Run
renv::restore()
to install the required R packages.
index.Rmd
is the markdown for the presentation slides (knitted toindex.html
).- The Github.io page with the presentation should deploy after each PR to the
master
branch. - If changes are made to the slides please recreate the
R_code_participant.R
file by running the code inrender_r_code_from_source.R
. - Solutions to the exercises are found in the
solutions.Rmd
file (knitted tosolutions.html
). The HTML solutions are not automatically deployed so to use them you will either need to open them in R studio or download them from GitHub and view them in a browser.