Learn R Programming

EpiModel (version 0.95)

modeids: ID Numbers for Bipartite Network

Description

This function outputs ID numbers for a mode number for a bipartite network.

Usage

modeids(nw, mode)

Arguments

nw
an object of class network or networkDynamic.
mode
mode number to return ID numbers for.

See Also

idmode provides the reverse functionality.

Examples

Run this code
nw <- network.initialize(10, bipartite=5)
modeids(nw, mode=2)

Run the code above in your browser using DataLab