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