- nodes
a data.frame with (at least) the following three columns:
node, transect, and quadrats. Must be the output of the function
create_node_labels().
- method
a character of length 1. The method used to detect neighbors.
One among 'pawn', 'fool', 'rook', 'bishop', 'bishop_left',
'bishop_right', 'knight', 'knight_left', 'knight_right',
'queen', 'wizard'. For further information, see the functions of the
same name (i.e. pawn(), rook(), etc.).
- degree
an integer of length 1. The maximum number of neighbors to
search for.
- directed
a logical of length 1. If FALSE (default), search for
neighbors in all directions (undirected network). Otherwise, the network
will be considered as directed according to the orientations of the
network. The default orientation follows the order of node labels in
both axes.
- reverse
a logical of length 1. If TRUE, change the default
orientation of the network. This argument is ignored if directed = FALSE.
See examples for further detail.
- self
a logical of length 1. If TRUE, a node can be its own
neighbor. Default is FALSE.