View source: R/15.2-analysis-nutritional.R
| calculate_stoichiometric_balance | R Documentation |
Analyzes nutritional limitations based on N:P ratios and determines which nutrient is limiting growth.
calculate_stoichiometric_balance(nutrient_balance)
nutrient_balance |
Complete list result from calculate_nutrient_balance with efficiencies and ratios |
A named list with ten elements:
Character. Overall assessment:
"N-limited", "P-limited", or "Undetermined".
Character. The identified limiting nutrient
("nitrogen", "phosphorus", or "unknown").
Character. The nutrient in relative excess.
Numeric. Fold-excess of the non-limiting nutrient relative to the Redfield ratio; 1 when undetermined.
Numeric. Retention efficiency of the limiting
nutrient; NA when undetermined.
Numeric. Observed N:P ratio of consumed food.
Numeric. Reference Redfield ratio used.
Numeric. Difference between observed and Redfield N:P ratio.
List from calculate_nutrient_efficiencies.
List from calculate_np_ratios.
nb <- list(
nitrogen = list(consumed = 10, assimilated = 8, growth = 3, excretion = 5,
egestion = 2, assimilation_efficiency = 0.8),
phosphorus = list(consumed = 1.5, assimilated = 1.1, growth = 0.5,
excretion = 0.6, egestion = 0.4, assimilation_efficiency = 0.73)
)
calculate_stoichiometric_balance(nb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.