read_and_stratify_bycatch: reads the bycatch into a data frame and makes each stratum a...

Description Usage Arguments

Description

reads the bycatch into a data frame and makes each stratum a data frame in a list

Usage

1
2
3
read_and_stratify_bycatch(bycatch_path, dropBelow = 5,
  stratifyOn = c("Year", "Season", "Region", "Target.Fishery", "Gear.Type"),
  bycatch_locus_columns)

Arguments

bycatch_path

The path to the bycatch file.

dropBelow

Any stratum with fewer than dropBelow fish will be dropped from consideration

stratifyOn

A character vector naming the columns holding the factors that determine the strata to stratify the data into

bycatch_locus_columns

integer vector with the columns in the original CSV bycatch file that have the loci that you want to use. Should be twice as many columns as loci.


eriqande/herring documentation built on May 16, 2019, 8:47 a.m.