igraph objects for affiliation network structure or
impose such structure if possible.
1 2 3 4 5 6 7
Logical; whether to introduce a
An affiliation network is a bipartite graph whose nodes are
classified as actors and events in such a way that all links are between
actors and events. The function
is_bipartite tests an
'igraph' object for a
type attribute, which is intended to
bipartition of the nodes. It does not test whether the links respect this
partition. The function
is_an tests this, as well as the condition
that actor nodes precede event nodes in their node IDs, which simplifies
some other functions. The function
as_an coerces an 'igraph' object
to an affiliation network by verifying that the object is bipartite and
minimally permuting the node IDs. If
graph has no
throws an error; if
as_an introduces a logical
type attribute that takes the
FALSE at the first node (by node ID) in each connected
FALSE at the remaining nodes according
as they are an odd or even number of hops from the first.
Original igraph functions:
Other network testing and coercion:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.