This tutorial accompanies the BernR MeetUp: Semi-advanced R programming tricks.
Click here to view the HTML version.
The tutorial uses following packages:
pacmanfor package loading, see here,data.tablefor data wrangling,ggplot2for plotting,plotlyfor interactive plotting.
The tutorial in script01.Rmd notebook covers following topics:
- Working with RStudio projects, code formatting, syntax conventions.
- Converting between long and wide data formats.
- Plotting with
ggplot2, including interactive plotting withplotly. - Wrapping code into functions, and documenting them with
Roxygen.