R is an open-source programming language for statistical computing
and graphics. R is extensible, and has a large collection of
high-quality user contributed packages that makes data analysis easy for
beginners. This mini-course will introduce you the fundamentals of R
programming with a focus on data management, data visualization and
quantitative finance applications in R.
What To Prepare
Please install R and RStudio
Desktop before the first session. If you encounter technical
difficulties installing the software, you can instead create a free RStudio Cloud account so you can run R
in the cloud via your browser.
An alternative to RStudio Cloud is the new UofT JupyterHub/RStudio
system. Go to its home
page, choose the RStudio option, and click “Log in to
start”. You will need your UTORid to login.
Session 1 (Overview)
- Slides (updated)
- Code
- Extra materials containing more details on data and programming
structures (from past workshops; optional)
- Reading list
- R for Data Science (Chapter 1
Intro, 4 Workflow: basics, 5 Data transformation, 6 Workflow: scripts, 8
Workflow: projects, 10 Tibbles, 11 Data import, 18 Pipes, 19 Functions,
20 Vectors, and 21 Iteration.)
Session 2 (Data Manipulation)
- Slides
- Code
- Data Manipulation (R notebook: )
- Reading list
Session 3 (Visualization)
- Slides
- Code
- Reading list
- R for Data Science (Chapter 3
Data visualization, 7 Exploratory Data Analysis (EDS), and 28 Graphics
for communication.)
Session 4 (Tidymodels, Time Series and Some R Finance Packages)
Free Resources
- R Programming
- R for Empirical Analysis
- R and Machine Learning
- Other Tutorials on Econometrics & Statistics using R
Back to TDMDAL Computing
Page