correct_diet {soilfoodwebs}R Documentation

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))

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.

Value

The modified community with new diet preferences.


[Package soilfoodwebs version 1.0.2 Index]