| energySIM_helper | R Documentation |
Runs agent based modeling for one replicate of a single species.
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 )
sp |
A species object |
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? |
env |
Raster, should represent NDVI or your environmental variable of interest |
sp_poly |
Come back to this |
A nx3 dataset containing longitude and latitude and energy points for all n timesteps