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

Description Usage Arguments Examples

View source: R/initialise.R

Description

Initialise array of resource and landscape-level interactions.

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
## Not run: 
Jacobian <- make_interaction_array(RESOURCES = starting_resources, 
LAND = LANDSCAPE_r);

## End(Not run)

GMSE documentation built on Aug. 2, 2021, 5:07 p.m.