Learn R Programming

fb4package (version 2.0.0)

calculate_nutrient_allocation: Generic nutrient allocation in bioenergetic model (Low-level)

Description

Calculates nutrient balance in consumption, growth, excretion and egestion

Usage

calculate_nutrient_allocation(
  consumption,
  prey_nutrient_concentrations,
  nutrient_assimilation_efficiency,
  weight_gain,
  predator_nutrient_concentration
)

Value

List with nutrient fluxes

Arguments

consumption

Vector of consumption by prey type (g/day)

prey_nutrient_concentrations

Vector of nutrient concentrations in prey (g nutrient/g wet weight)

nutrient_assimilation_efficiency

Vector of nutrient assimilation efficiencies (fraction 0-1)

weight_gain

Predator weight gain (g/day)

predator_nutrient_concentration

Nutrient concentration in predator (g nutrient/g wet weight)