graph.lattice() was renamed to make_lattice() to create a more
consistent API.
Usage
graph.lattice(
dimvector = NULL,
length = NULL,
dim = NULL,
nei = 1,
directed = FALSE,
mutual = FALSE,
periodic = FALSE,
circular = deprecated()
)Arguments
- dimvector
A vector giving the size of the lattice in each dimension.
- length
Integer constant, for regular lattices, the size of the lattice in each dimension.
- dim
Integer constant, the dimension of the lattice.
- nei
The distance within which (inclusive) the neighbors on the lattice will be connected. This parameter is not used right now.
- directed
Whether to create a directed lattice.
- mutual
Logical, if
TRUEdirected lattices will be mutually connected.- periodic
Logical vector, defines whether the generated lattice is periodic along each dimension. This parameter may also be a single logical which will be extended to a logical vector of `dimvector“ length.
- circular
Deprecated, use
periodicinstead.
