network.indicators {network}R Documentation

Indicator Functions for Network Properties

Description

Various indicators for properties of network class objects.

Usage

has.loops(x)
is.directed(x)
is.hyper(x)
is.multiplex(x)

Arguments

x an object of class network

Details

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.

Value

TRUE or FALSE

Author(s)

Carter T. Butts buttsc@uci.edu

References

Butts, C.T. 2002. ``Memory Structures for Relational Data in R: Classes and Interfaces'' Working Paper.

See Also

network, get.network.attribute, set.network.attribute

Examples

g<-network.initialize(5)    #Initialize the network
is.directed(g)
has.loops(g)

[Package network version 0.5-4 Index]