To create a new agentMatrix object.

# S4 method for agentMatrix
initialize(.Object = "agentMatrix", coords, ...,
  levelsAM)

Arguments

.Object

An object: see the “Initialize Methods” section.

coords

2 column matrix of coordinates

...

arguments to specify properties of the new object, to be passed to initialize().

levelsAM

A list with named character vectors. Each name should match with elements in ..., and each character vector should be the length of unique elements in the ... element.