Learn R Programming

NetLogoR (version 1.0.5)

initialize,agentMatrix-method: Initialize for agentMatrix Class

Description

To create a new agentMatrix object.

Usage

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

Value

An agentMatrix object.

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.