compute_prey_size: Compute prey size

Description Usage Arguments Details Value

Description

Compute prey size for class size species can eat. It is theoretical, indeep, the information about real diet of the fish is not taken in account here.

Usage

1
2
3
4
5
6
7
8
compute_prey_size(
  class_size,
  pred_win,
  species,
  beta_min,
  beta_max,
  pred_win_method = "midpoint"
)

Arguments

class_size

a data.frame generated by compute_classes

pred_win

data.frame containing species and the predation window parameters (\alpha and \beta).

species

blabla

beta_min

column name containing beta_min parameters

beta_max

column name contains beta_max parameters

pred_win_method

character midpoint, overlap or no_overlap. Default to midpoint.

Details

For now, the function compute the mininum prey size as follow: beta_min * min_predator_size. But the general formula is in hte form: alpha_min + beta_min * min_predator_size. But here, we do not have data about alpha. We will add it if necessary.

Value

matrix


alaindanet/SizeTrophicInteractions documentation built on Dec. 18, 2021, 11:32 p.m.