Skip to contents

Analyzes body composition across a range of fish sizes to understand allometric relationships and size-dependent changes.

Usage

analyze_composition_by_size(
  weight_range = c(1, 500),
  n_points = 50,
  processed_composition_params
)

Arguments

weight_range

Weight range to analyze (2-element vector), default c(1, 500)

n_points

Number of points to analyze, default 50

processed_composition_params

Processed composition parameters

Value

Data frame with composition analysis by size

Examples

if (FALSE) { # \dontrun{
# Analyze composition from 1g to 500g fish
comp_analysis <- analyze_composition_by_size(c(1, 500), 50, composition_params)
plot(comp_analysis$Weight, comp_analysis$Energy_density)
} # }