Skip to contents

Function to bring in and compare age2+ abundances

Usage

abund_comp(
  SurveyNamein,
  DirNameFilein,
  imagedirin,
  casesin,
  hakeflagin,
  yearin,
  ...
)

Arguments

casesin

- 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

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

year

is the year that is being investigated

Examples

 if (FALSE) { # \dontrun{
aB2<-abund_comp(SurveyName,DirNameFile,imagedir, casesin=cases, hakeflagin,yearin=year)
} # }