Learn R Programming

NetLogoR (version 0.3.11)

coordinates,agentMatrix-method: Set spatial coordinates

Description

Set spatial coordinates

Usage

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

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 sp::coordinates().

Arguments

obj

an AgentMatrix object

...

additional arguments that may be used by particular methods