This repository contains R code that analyzes data gathered from a lab experiment that studies the influence of time perception on route choices in public transport. A preprint that describes the methodology, results and theory behind these analysis is available at this link. A github repo with the lab experiment can be accessed at this link.
- Clone the repository
- Run the script
main.Rlocated in the main folder of the repository
- The
scriptsfolder contains all scripts that are sourced from themain.Rscript - The script
setup-libraries.Rinstalls the libraries in your environment. If they had been installed already, the libraries are just loaded. - The data is available under the folder
data - The code is compatible with
R 4.2.3and it takes less than 5 minutes to be executed on a computer with a processor of 2.3 GHz 8-Core Intel Core i9 and with memory of 16 GB ram. - The code of the experiment that was designed to collect this dataset is available at https://github.com/pabloguarda/route-choice-experiment


