energySIM_helper: Run energy-dynamic based model for one replicate

View source: R/energySIM_helper.R

energySIM_helperR Documentation

Run energy-dynamic based model for one replicate

Description

Runs agent based modeling for one replicate of a single species.

Usage

energySIM_helper(
  sp,
  env_orig,
  env_subtract,
  days,
  sigma,
  dest_x,
  dest_y,
  mot_x,
  mot_y,
  search_radius,
  optimum_lo,
  optimum_hi,
  init_energy,
  direction,
  single_rast,
  mortality,
  energy_adj
)

Arguments

sp

A species object

env_orig

Raster

env_subtract

Raster

days

Integer, how many days (timesteps), would you like to model

sigma

Numeric, amount of random error

dest_x

Numeric, destination x coordinate (longitude)

dest_y

Numeric, destination y coordinate (latitude)

mot_x

Numeric, movement motivation in x direction

mot_y

Numeric, movement motivation in y direction

search_radius

Radius of semicircle to South of current location to search for next timestep (in km)

optimum_lo

come back

optimum_hi

come back

init_energy

come back

direction

come back

mortality

Logical, should low energy levels result in death?

Value

A nx3 dataset containing longitude and latitude and energy points for all n timesteps


abmR documentation built on Aug. 28, 2023, 1:07 a.m.