All functions

agentClasses-class

A meta class for agentMatrix and SpatialPointsDataFrame

cbind rbind

Combine R Objects by Rows or Columns

agentMatrix-class

The agentMatrix class

==,agentMatrix,character-method

Relational Operators

show length nrow head tail

Key base R functions for agentMatrix class

agentMatrix

Create a new agentMatrix object

extent .bboxCoords bbox bbox<-

Bounding box and extent methods for NetLogoR classes

bk

Move backward

canMove

Can the turtles move?

cellFromPxcorPycor

Cells numbers from patches coordinates

clearPatches

Clear world's patches

coordinates

Set spatial coordinates

createOTurtles

Create ordered turtles

createTurtles

Create turtles

createWorld

Create a world

die

Kill turtles

diffuse

Diffuse values in a world

downhill

Move downhill

dx

x-increment

dy

y-increment

[

Extract or Replace Parts of an Object

face

Face something

fargs

Function arguments

fd

Move forward

hatch

Hatch new turtles

home

Return home

inCone

Agents in cone

initialize

Initialize for agentMatrix Class

inRadius

Agents in radius

inspect

Inspect turtles

isNLclass

Type of object

layoutCircle

Layout turtles on a circle

left

Rotate to the left

maxNof

N agents with maximum

maxOneOf

One agent with maximum

maxPxcor

Maximum pxcor

maxPycor

Maximum pycor

minNof

N agents with minimum

minOneOf

One agent with minimum

minPxcor

Minimum pxcor

minPycor

Minimum pycor

moveTo

Move to

neighbors

Neighbors patches

NetLogoR-package

The NetLogoR package

NLall

All agents?

NLany

Any agents?

NLcount

Count agents

NLdist

Distances between agents

NLset

Set an agents variable

NLwith

Agents with

NLworldIndex

WorldMatrix indices from vector indices

nOf

N random agents

noPatches

No patches

noTurtles

No turtles

of

Values of an agents variable

oneOf

One random agent

other

Others

patch

Patches coordinates

patchAhead

Patches ahead

patchAt

Patches at

patchDistDir

Patches at given distances and directions

patches

All the patches in a world

patchHere

Patches here

patchLeft

Patches on the left

patchRight

Patches on the right

patchSet

Patch set

pExist

Do the patches exist?

plot points

Basic plot methods for `agentMatrix`, `worldMatrix`, `worldArray`

PxcorPycorFromCell

Patches coordinates from cells numbers

numLayers .plotGrob layerNames .identifyGrobToPlot

Methods for quickPlot

randomPxcor

Random pxcor

randomPycor

Random pycor

randomXcor

Random xcor

randomXYcor

Random turtles coordinates

randomYcor

Random ycor

raster2world

Convert a Raster* object into a worldMatrix or worldArray object

right

Rotate to the right

setXY

Set turtles' locations

show

Key base R functions for worldNLR classes

sortOn

Sort agents

spdf2turtles

From SpatialPointsDataFrame to agentMatrix

sprout

Sprout new turtles

stackWorlds

Stack worlds

subHeadings

Substract headings

[[

Subsetting for worldArray class

tExist

Do the turtles exist?

towards

Directions towards

turtle

Select turtles

turtles2spdf

From agentMatrix to SpatialPointsDataFrame

turtlesAt

Turtles at

turtleSet

Create a turtle agenset

turtlesOn

Turtles on

turtlesOwn

New turtles variable

updateList

Update elements of a named list with elements of a second named list

uphill

Move uphill

withMax

Agents with maximum

withMin

Agents with minimum

world2raster

Convert a worldMatrix or worldArray object into a Raster* object

worldArray-class

The worldArray class

worldHeight

World height

worldMatrix-class

The worldMatrix class

worldNLR-class

The worldNLR class

worldWidth

World width

wrap

Wrap coordinates or pixels in a torus-like fashion