R scripts and plots for the first course project