network.indicators {network} | R Documentation |
Various indicators for properties of network
class objects.
has.loops(x) is.directed(x) is.hyper(x) is.multiplex(x)
x |
an object of class network |
has.loops
returns TRUE
iff x
is allowed to contain loops (or loop-like edges, in the hypergraphic case).
is.directed
returns TRUE
iff the edges of x
are to be interpreted as directed.
is.hyper
returns TRUE
iff x
is allowed to contain hypergraphic edges.
is.multiplex
returns TRUE
iff x
is allowed to contain multiplex edges.
TRUE
or FALSE
Carter T. Butts buttsc@uci.edu
Butts, C.T. 2002. ``Memory Structures for Relational Data in R: Classes and Interfaces'' Working Paper.
network
, get.network.attribute
, set.network.attribute
g<-network.initialize(5) #Initialize the network is.directed(g) has.loops(g)