Get Average Weight
get_avg_wt.Rd
Get average weight of crab by grouping variable using weight at length parameters
Arguments
- data
NULL. Crab sample data in the format as the output of
load_crab_dump()
- stock
NULL. Character string stock abbreviation: BSSC, WBT, EBT, BBRKC, EAG, WAG, PIGKC, SMBKC, PIBKC, PIRKC, WAIRKC.
- by
NULL. Vector of column names other than crab year, fishery, and size to use as a grouping variable.
- lump
T/F Lump shell condition into new and old (TRUE) or not (FALSE). Default = TRUE.
- units
NULL. Unit of measurement, "t" or "lb". Default = "t".