Skip to content

A short introduction to R programming for economics students, featuring tutorials on data analysis, visualisation, and econometric methods with practical examples and exercises.

Notifications You must be signed in to change notification settings

WihanZA/coding-in-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to R Programming

This repository contains materials for an introductory R programming course designed for MCom Economics students at Stellenbosch University. The course focuses on essential R programming concepts, data analysis, and statistical methods commonly used in economics research.

Repository Structure

coding-in-r/
├── assignment/       # Student assignment materials
├── data/            # Dataset files for exercises
├── memorandum/      # Assignment solutions and explanations
├── scripts/         # Utility R scripts
└── tutorial/        # Main tutorial content and exercises

Course Materials

Tutorial

The main tutorial provides a comprehensive introduction to R programming, covering basic operations, data manipulation, visualization, and statistical analysis techniques commonly used in economics.

Assignment

The assignment tests practical implementation of core concepts, focusing on data handling, visualization, and regression analysis in an economics context.

Datasets

The course uses real-world economic datasets, including Irish energy consumption data and cross-sectional wage data, to demonstrate practical applications.

Scripts

The scripts/ directory contains package management and installation utilities.

Prerequisites

To use these materials, you'll need:

  • R (version 4.3.2 or later)
  • RStudio Desktop
  • Required R packages (installable via pacman::p_load())

Getting Started

  1. Clone this repository
  2. Open the coding-in-r.Rproj file in RStudio
  3. Run the setup scripts in the scripts/ directory
  4. Follow along with tutorial/tutorial.Rmd

Further Reading

Should you need additional resources to get started, try the following:

Additional Tools

Acknowledgements

These lecture notes are compiled from the following resources:

License

This material is provided for educational purposes. Please check with the original authors for usage rights and attribution requirements.

About

A short introduction to R programming for economics students, featuring tutorials on data analysis, visualisation, and econometric methods with practical examples and exercises.

Resources

Stars

Watchers

Forks