correct_diet: A function to correct the diet of trophic species.
Description
A function to correct the diet of trophic species.
Usage
correct_diet(usin, dietlimits = c(NA))
Value
The modified community with new diet preferences.
Arguments
- usin
The input community in which to fix the diets.
- dietlimits
# A matrix the same size as imat that gives the diet limits as a proportion of the total diet. All values must be between 0 and 1. Leaving it as NA sets the limits of all diet items to 1.