Create simulation_functions.R

This file contains the main functions used for simulating data.