read_proc_reports: Read in report(s) generated by Matlab biomass estimation/kriging process
read_proc_reports.Rd
Read in report(s) from Matlab biomass estimation from a directory and calculate the total survey biomass estimate and biomass by age. Uses readxl
Arguments
- SurveyName
- name of survey
- DirNameFile
excel file - contains paths and locations of files. Uses Export_dir as the directory that the exported files are in.
- sheet
is an optional argument to denote which sheet of the DirNameFile want to use. This defaults to the first sheet if not set.
- 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+