View source: R/weight_lw_residuals.R
weight_lw_residuals | R Documentation |
This function weights length-weight residuals by stratum biomass OR catch.
weight_lw_residuals(
residuals,
year,
stratum = NA,
stratum_biomass = NA,
catch = 1
)
residuals |
Vector of residuals residuals that will be weighted by stratum biomass or catch. |
year |
Vector of years Year of sample must be the same length as the residuals. |
stratum |
Vector of strata for weighting. |
stratum_biomass |
Vector of stratum biomass. |
catch |
Vector of catch for weighting residuals by haul (default = 1). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.