reads the bycatch into a data frame and makes each stratum a data frame in a list
1 2 3 | read_and_stratify_bycatch(bycatch_path, dropBelow = 5,
stratifyOn = c("Year", "Season", "Region", "Target.Fishery", "Gear.Type"),
bycatch_locus_columns)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.