powered by
Outputs static vertex attributes for a bipartite network for one specified mode.
bipvals(nw, mode, val)
An object of class network or networkDynamic.
network
networkDynamic
Mode number.
Nodal attribute to return.
# NOT RUN { nw <- network.initialize(n = 10, bipartite = 5) nw <- set.vertex.attribute(nw, "male", rep(0:1, each = 5)) bipvals(nw, mode = 1, "male") # }
Run the code above in your browser using DataLab