chessboard: Create Network Connections Based on Chess Moves

Provides functions to work with directed (asymmetric) and undirected (symmetric) spatial networks. It makes the creation of connectivity matrices easier, i.e. a binary matrix of dimension n x n, where n is the number of nodes (sampling units) indicating the presence (1) or the absence (0) of an edge (link) between pairs of nodes. Different network objects can be produced by 'chessboard': node list, neighbor list, edge list, connectivity matrix. It can also produce objects that will be used later in Moran's Eigenvector Maps (Dray et al. (2006) <doi:10.1016/j.ecolmodel.2006.02.015>) and Asymetric Eigenvector Maps (Blanchet et al. (2008) <doi:10.1016/j.ecolmodel.2008.04.001>), methods available in the package 'adespatial' (Dray et al. (2023) <>). This work is part of the FRB-CESAB working group Bridge <>.

Version: 0.1
Imports: dplyr, ggplot2, magrittr, rlang, sf, tidyr
Suggests: knitr, igraph, patchwork, rmarkdown, testthat (≥ 3.0.0)
Published: 2023-10-14
DOI: 10.32614/CRAN.package.chessboard
Author: Nicolas Casajus ORCID iD [aut, cre, cph], Erica Rievrs Borges ORCID iD [aut], Eric Tabacchi ORCID iD [aut], Guillaume Fried ORCID iD [aut], Nicolas Mouquet ORCID iD [aut]
Maintainer: Nicolas Casajus <nicolas.casajus at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: chessboard citation info
Materials: README NEWS
CRAN checks: chessboard results


Reference manual: chessboard.pdf
Vignettes: Chess pieces
Get started
Visualization tools


Package source: chessboard_0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): chessboard_0.1.tgz, r-oldrel (arm64): chessboard_0.1.tgz, r-release (x86_64): chessboard_0.1.tgz, r-oldrel (x86_64): chessboard_0.1.tgz


Please use the canonical form to link to this page.