Skip to contents

Function to read in and compare abundance estimate from the various cases. Similar to the biomass version, but doesn't do the spatial comparison (no spatial abundance reports available).

Usage

basic_abund_comp(
  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

 if (FALSE) { # \dontrun{
T<-basic_abund_comp(SurveyName,DirNameFile,imagedir,cases,hakeflagin,year)
} # }