Description Usage Arguments Value
View source: R/metaweb_build.R
Compute feeding links between species based on their size
1 2 3 4 5 6 7 8 9 10 11 12 13 | compute_links(
size_class,
th_prey_size,
piscivory_index,
fish_diet_shift,
resource_diet_shift,
species,
fish,
low_bound,
upper_bound,
fish_resource_method = "overlap",
pred_win_method = "midpoint"
)
|
size_class |
a data.frame generated by compute_classes |
th_prey_size |
data.frame generated by compute_prey_size |
piscivory_index |
data.frame generated by compute_piscivory |
fish_diet_shift |
a data.frame containing species, life stage, lower and upper bound size for each stage |
resource_diet_shift |
data.frame generated by compute_prey_size |
species |
variable name |
fish |
name of logical piscivory variable. 0 = no piscivory; 1 = piscivory |
low_bound |
variable containing lower limit of the stage |
upper_bound |
variable containing upper limit of the stage. Not used. |
list containing the species-species and the species-resource interaction matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.