Sets the the location of the initiating agents. NOT YET FULLY IMPLEMENTED.

A SELES-like function to maintain conceptual backwards compatibility with that simulation tool. This is intended to ease transitions from SELES.

You must know how to use SELES for these to be useful.

agentLocation(map)

Arguments

map

A SpatialPoints*, SpatialPolygons*, or Raster* object.

Value

Object of same class as provided as input. If a Raster*, then zeros are converted to NA.