Sum separate mortality columns into new "total_mortality" column
Source:R/mortality_scaler.R
add_total_mortality.RdConvenience function for combining the separate mortality columns of the Mortality table. Note: this does not account for AEQ for Chinook.
Arguments
- .data
Dataframe with separate mortality columns
landed_catch,non_retention,shaker,drop_off, andmsf_versions of each. Typically comes fromfetch_table("Mortality")oraeq_mortality().