Create numbers at length table for MACE summer GOA cruise reports
build_numbers_at_length_table_summer_goa.Rd
Build the pollock numbers-at-length table used in summer GOA reports. This will report all lengths from 10-70 cm, and will do so for each Report Number (i.e. survey region) that was defined for the analysis. If you have an especially small (<10 cm) or large (>70 cm) length class, the table will report these sizes as opposed to the nomimal 10 cm- 70 cm range.
Arguments
- biomass_nums_data
The name of the dataframe that contains all needed values; this dataframe is created in the cruise report markdown process using the function
get_biomass_and_nums_data_function.R
; this provides all the data that is then used to create a 'current survey only/pollock only' dataframe namedcurrent_survey_pollock_biomass_nums
. This dataframe is the easiest input tobuild_numbers_at_length_table_summer_goa
function.@return A list with two items: item 1 is the Flextable table object, item 2 is the table caption.
@author Mike Levine
Examples
if (FALSE) { # \dontrun{
# build the table and caption
nums_table_list <-
build_numbers_at_length_table_summer_goa(biomass_nums_data = current_survey_pollock_biomass_nums)
# pull out table and caption from the list
nums_table <- nums_table_list[[1]]
nums_caption <- nums_table_list[[2]]
} # }