moveSIM_helper {abmR} | R Documentation |
Runs agent based modeling for one replicate of a single species. Used by function 'generations' to run more replicates of more species.
moveSIM_helper(
sp,
env,
days,
sigma,
dest_x,
dest_y,
mot_x,
mot_y,
search_radius,
optimum,
n_failures,
fail_thresh,
direction,
single_rast,
mortality
)
sp |
A species object |
env |
Raster, should represent NDVI or your environmental variable of interest |
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) |
mortality |
Logical, should low energy levels result in death? Default T. |
A nx2 dataset containing longitude and latitude points for all n timesteps