Skip to contents

Function to compare spatial biomass estimates generated by Matlab,, but comparing the #the age-1+ and age-2+ methods. This will really only be appropriate for age-2+ fish. Right now only does the spatial comparison. This script looks on a case by case basis to see what the spatial differences are in biomass depending on age-2+ or full age (age-1+) methods

Usage

basic_BM_comps_mult_cross(
  SurveyNamein,
  DirNameFilein,
  imagedirin,
  cases,
  hakeflagin,
  yearin,
  ...
)

Arguments

cases

- is the set of cases to be compared

hakeflagin

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). Passing this although assuming this will be hakeflag=1

yearin

is the year that is being investigated

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.

imagedir

- the directory for the images files to be placed in

Examples