fargs | R Documentation |
Function arguments
n |
Integer. |
world |
|
torus |
Logical to determine if the |
minPxcor |
Integer. Minimum |
maxPxcor |
Integer. Maximum |
minPycor |
Integer. Minimum |
maxPycor |
Integer. Maximum |
pxcor |
Integer. Vector of patches |
pycor |
Integer. Vector of patches |
cellNum |
Integer. Vector of cells number. |
pVar |
Character. If the |
turtles |
|
patches |
Matrix ( |
agents |
Matrix ( `AgentMatrix` object representing the moving `agents`. |
agents2 |
Matrix ( `AgentMatrix` object representing the moving `agents`, or Matrix (`ncol` = 2) with the first column `x` and the second column `y` representing locations coordinates. |
nNeighbors |
Integer: 4 or 8. Represents the number of neighbor |
dx |
Numeric. Vector of distances to the east (right) from the |
dy |
Numeric. Vector of distances to the north (up) from the |
color |
Character. Vector of |
who |
Integer. Vector of the |
breed |
Characters. Vector of |
var |
Character. The name of the selected |
val |
Numeric or character. Vector of any length. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.