Learn R Programming

EpiModel (version 1.8.0)

modeids: ID Numbers for Bipartite Network

Description

Outputs ID numbers for a mode number for a bipartite network.

Usage

modeids(nw, mode)

Arguments

nw

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
# NOT RUN {
nw <- network.initialize(10, bipartite = 5)
modeids(nw, mode = 2)

# }

Run the code above in your browser using DataLab