Implementing previous changes into main_Test.r routine, testing year/rep summary, changed output of rRepSurvey.r to dataframe.