Links neighbors (cells) on a chessboard plotted with gg_chessboard().
geom_edges(nodes, focus, neighbors)
Arguments
nodes: a data.frame with (at least) the following three columns: node, transect, and quadrats. Must be the output if the function create_node_labels().
focus: an character of length 1. The node label to be emphasized on the chessboard. Must exist in the nodes object.
neighbors: a data.frame with the following at least three columns: node, transect, and quadrats. See pawn(), fool(), etc. for further information.
Returns
A geom_segment that must be added to a ggplot2 object.