Learn R Programming

fb4package (version 2.0.0)

calculate_weight_dependent_mortality: Calculate weight-dependent mortality (Low-level)

Description

Adjusts mortality based on current fish weight

Usage

calculate_weight_dependent_mortality(
  current_weight,
  base_mortality,
  weight_threshold,
  starvation_factor,
  initial_weight = NULL
)

Value

Adjusted mortality rate

Arguments

current_weight

Current weight (g)

base_mortality

Base daily mortality rate

weight_threshold

Weight threshold below which mortality increases

starvation_factor

Multiplication factor for starvation

initial_weight

Initial weight for comparison (optional)