All functions

bio_samples_by_year()

Calculate biological sample size

bootstrap()

Bootstrap non-catch share data

bootstrap_discard()

Bootstrap non-catch share data

calc_comps()

Calculate expanded discard composition

calc_cs_discards()

Function that calculates discards for the catch share vessels

check_confidential()

Check confidentiality using the catch data

combine_catch_data()

Function to combine catch data with EM catch data

combine_cs_discards()

Bootstrap uncertainty and summarize WCGOP discard data

create_groups()

Create gear and fleet groups

format_gemm()

Format GEMM data to match the WCGOP

format_gemm_alt()

Format GEMM alternative data to match the WCGOP

get_biological_data()

Calculate expanded discard composition

get_discard_rates()

Bootstrap uncertainty and summarize WCGOP discard data

get_mean_weights()

Calculate mean weights for discarded fish

get_weights()

Calculate discard, landings, and catch proportions by year and gear for data weighting

plot_discard_rates()

Plot discard rates

plot_gemm()

Plot GEMM data

plot_mean_weights()

Plot mean weights with the CV

plot_wcgop_bio()

Visualize biological discard data

run()

Run all the analysis together

weight_discard_rates()

Weight discard rates between catch share and non-catch share