make_interaction_array: Initialise array of resource and landscape-level...

View source: R/initialise.R

make_interaction_arrayR Documentation

Initialise array of resource and landscape-level interactions.

Description

Initialise array of resource and landscape-level interactions.

Usage

make_interaction_array(
  RESOURCES,
  LAND,
  res_consume = 0.5,
  consume_surv = 0,
  consume_repr = 0,
  times_feeding = 1
)

Arguments

RESOURCES

The resources array produced by the resource function within GMSE

LAND

The landscape array on which interactions between resources and agents occur

res_consume

The proportion of a landscape cell that a resource consumes

consume_surv

The amount that a resource needs to consume to survive a time step

consume_repr

The amount that a resource needs to consume to produce one offspring

times_feeding

The number of times a resource moves to feed on a cell in a time step

Examples

## Not run: 
Jacobian <- make_interaction_array(RESOURCES = starting_resources, 
LAND = LANDSCAPE_r);

## End(Not run)

GMSE documentation built on June 16, 2022, 9:05 a.m.