Learn R Programming

NetLogoR (version 0.3.9)

coordinates,agentMatrix-method: Set spatial coordinates

Description

Set spatial coordinates

Usage

# S4 method for agentMatrix
coordinates(obj, ...)

Arguments

obj

an AgentMatrix object

...

additional arguments that may be used by particular methods

Value

usually an object of class SpatialPointsDataFrame; if the coordinates set cover the full set of variables in object, an object of class SpatialPoints is returned. See coordinates.