create_matrix_parameter function

Make parameter matrix

Make parameter matrix

create_matrix_parameter(BM, b0, bprey, bpred, E, T.K, T0, k)

Arguments

  • BM: float vector, body mass of species.
  • b0: const
  • bprey: const
  • bpred: const
  • E: const
  • T.K,: Celsius to Kelvin conversion
  • T0,: Default temperature in Kelvin
  • k,: Boltzmann constant

Returns

A matrix filled with estimated values for a model parameter that depends on prey and predator body masses (see details)

Details

Make a parameter matrix that depends on both predators and prey and that is used to define attack rates and handling times based on the general allometric equation:

pi,j=b0BMibpreyBMjbpredexp(E(T0T.K)/(kT.KT0)) p_{i,j} = b_0 * BM_i^{bprey} * BM_j^{bpred} * exp(-E * (T0-T.K) / (k * T.K * T0))
  • Maintainer: Benoit Gauzens
  • License: GPL (>= 2)
  • Last published: 2023-09-04

Useful links