create_matrix_parameter: Make parameter matrix

View source: R/default_initialisations.R

create_matrix_parameterR Documentation

Make parameter matrix

Description

Make parameter matrix

Usage

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

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:

p_{i,j} = b_0 * BM_i^{bprey} * BM_j^{bpred} * exp(-E * (T0-T.K) / (k * T.K * T0))

Value

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


ATNr documentation built on June 8, 2025, 10:49 a.m.