Skip to contents

IGP function

Usage

fun_igp(
  x,
  r_b = 5,
  k = 100,
  e = c(0.8, 0.8, 0.8),
  a = c(2, 2, 2),
  h = c(0.1, 0.1, 0.1),
  s = 0
)

Arguments

x

Community matrix for basal, intraguild prey (ig-prey), and intraguild predator (ig-predator)

r_b

Maximum reproductive rate of basal species

k

Carrying capacity of basal species

e

Energetic conversion efficiency; must be given by the order of basal to ig-prey, basal to ig-predator, and ig-prey to ig-predator

a

Attack rate. Must be given by the order of basal to ig_prey, basal to ig-predator, and ig-prey to ig-predator

h

Handling time. Must be given by the order of basal to ig_prey, basal to ig-predator, and ig-prey to ig-predator

s

Strength of prey switching from ig-prey to basal