Read_Report_Summaries_Abund
Read_Report_Summaries_Abund.Rd
helper function to read in abundance at age reports from EchoPro from different cases as well as with different methods (age1+ (full age) and age2+ methods). Right now just tested for age-2+ results for both methods
Usage
Read_Report_Summaries_Abund(
SurveyName,
DirNameFile,
repcases,
year,
reportpath,
hakeflag = 2
)
Arguments
- repcases:
a list of cases (will correspond to subfolder names) of reports to read in.
- year:
the year (used as a subfolder)
- reportpath:
the base path that the script will look for the (year then) case subfolders in
- hakeflag:
adult hake (hakeflag=2), not filtering for hake (hakeflag=-1), age-0 hake (hakeflag=0), age-1 hake only(hakeflag=1), all hake (hakeflag=3), age-1+ (hakeflag=4). set to 1 if want age1+ numbers, set to 0 (or other number) if want age2+. Defaults to age2+