Description Usage Arguments Details Value
Determine which size class is piscivorous
1 2 3 4 5 6 7 8 | compute_piscivory(
size_class,
fish_diet_shift,
species,
low_bound,
upper_bound,
fish
)
|
size_class |
a data.frame generated by compute_classes |
fish_diet_shift |
a data.frame containing species, life stage, lower and upper bound size for each stage |
species |
variable name |
low_bound |
variable containing lower limit of the stage |
upper_bound |
variable containing upper limit of the stage. Not used. |
fish |
name of logical piscivory variable. 0 = no piscivory; 1 = piscivory |
If given species class is considered as piscivor if the upper bound of the class is greater than the mininum size to reach piscivory.
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.