To create a new agentMatrix object.

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



An object: see the “Initialize Methods” section.


2 column matrix of coordinates


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


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.