Skip to contents

helper function to read in biomass at age reports from EchoPro

Usage

Read_Reports(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+

Examples

 if (FALSE) { # \dontrun{
Blist<-Read_Reports(repcases, year, reportpath)
} # }