run.Rd
Run all the analysis together
run(
species_name,
data_grouping,
len_bins = seq(10, 60, 2),
age_bins = 1:30,
catch_data,
biological_data,
em_catch_data = NULL,
save_loc = NULL,
n_boot = 10000
)
Species that you want composition data for. Should match the species names in the WCGOP data.
A list of the groupings to apply to the data. The list should formatted as: list(gear_groups, gear_names, fleet_groups, fleet_names, fleet_colname).
Length composition bins (example: seq(20, 90, 2)).
Age composition bins (example: 1:50).
A data frame of WCGOP catch data that includes all species. This data frame will be used to check confidentiality.
A data frame of WCGOP biological data that includes all species.
A data frame of WCGOP EM catch data that includes all species.
Directory location to save files.
Number of bootstraps to run.