modes: Actor and event node iteration and attribute querying and...

Description Usage Arguments Value See Also Examples

Description

These functions return actor and event node lists.

x = an affiliation network value = V1(x) or V2(x) with additional attributes: "name" = name of attribute being assigned "value" = values being assigned to attribute

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
V1(graph)

V2(graph)

set_actor_attr(graph, name, index = V1(graph), value)

set_event_attr(graph, name, index = V2(graph), value)

V1(x) <- value

V2(x) <- value

Arguments

graph

An affiliation network.

name

The name of the attribute to set.

index

An optional node sequence to set the attributes of a subset of actor or event nodes.

value

The new value of the attribute for all (or index) actor or event nodes.

x

An affiliation network.

Value

graph, with the actor or event attribute added or set.

See Also

Original igraph functions: V, set_vertex_attr

Other modal queries and manipulations: dualize, mode_addition, mode_counts, schedule

Examples

1
2
3
4
5
6

corybrunson/bitriad documentation built on May 13, 2019, 10:51 p.m.