################################################################################
#' Function arguments
#'
#' @keywords internal
#'
#' @name fargs
#'
#'
#' @param n Integer.
#'
#' @param world `WorldMatrix` or `worldArray` object.
#'
#' @param torus Logical to determine if the `world` is wrapped. Default is
#' `torus = FALSE`.
#'
#' @param minPxcor Integer. Minimum `pxcor` for the `patches` (`world`'s left border).
#'
#' @param maxPxcor Integer. Maximum `pxcor` for the `patches` (`world`'s right border).
#'
#' @param minPycor Integer. Minimum `pycor` for the `patches` (`world`'s bottom border).
#'
#' @param maxPycor Integer. Maximum `pycor` for the `patches` (`world`'s top border).
#'
#' @param pxcor Integer. Vector of patches `pxcor` coordinates. Must be of length 1
#' or of the same length as `pycor`.
#'
#' @param pycor Integer. Vector of patches `pycor` coordinates. Must be of length 1
#' or of the same length as `pxcor`.
#'
#' @param cellNum Integer. Vector of cells number.
#'
#' @param pVar Character. If the `world` is a `worldArray` object, `pVar`
#' is the name of the layer to use to define the `patches` values.
#' `pVar` must not be provided if the `world` is a `worldMatrix` object.
#'
#' @param turtles `AgentMatrix` object representing the moving `agents`.
#'
#' @param patches Matrix (`ncol` = 2) with the first column `pxcor` and the second
#' column `pycor` representing the `patches` coordinates.
#'
#' @param agents Matrix (`ncol` = 2) with the first column `pxcor` and the second
#' column `pycor` representing the `patches` coordinates, or
#'
#' `AgentMatrix` object representing the moving `agents`.
#'
#' @param agents2 Matrix (`ncol` = 2) with the first column `pxcor` and the second
#' column `pycor` representing the `patches` coordinates, or
#'
#' `AgentMatrix` object representing the moving `agents`, or
#'
#' Matrix (`ncol` = 2) with the first column `x` and the second column
#' `y` representing locations coordinates.
#'
#' @param nNeighbors Integer: 4 or 8. Represents the number of neighbor `patches`
#' considered.
#'
#' @param dx Numeric. Vector of distances to the east (right) from the `agents`.
#' If `dx` is negative, the distance to the west (left) is computed.
#' `dx` must be of length 1 or of the same length as number of `patches`
#' or `turtles` in `agents`.
#'
#' @param dy Numeric. Vector of distances to the north (up) from the `agents`.
#' If `dy` is negative, the distance to the south is computed (down).
#' `dy` must be of length 1 or of the same length as number of `patches`
#' or `turtles` in `agents`.
#'
#' @param color Character. Vector of `color` names. Must be of length `n`.
#' If missing, `colors` are assigned using the function `rainbow(n)`.
#'
#' @param who Integer. Vector of the `who` numbers for the selected `turtles`.
#'
#' @param breed Characters. Vector of `breed` names for the selected `turtles`.
#' If missing, there is no distinction based upon `breed`.
#'
#' @param var Character. The name of the selected `agents` variable.
#' If `agents` are `patches` and the `world` is a
#' `worldMatrix` object, `var` must not be provided. If
#' `agents` are `patches` and the `world` is a `worldArray`
#' object, `var` is the name of the layer to use to define the `patches`
#' values. If `agents` are `turtles`, `var` is one of
#' the `turtles`' variable and can be equal to `xcor`,
#' `ycor`, any of the variables created when `turtles` were created,
#' as well as any variable created using `turtlesOwn()`.
#'
#' @param val Numeric or character. Vector of any length.
#'
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.