to.edgelist {fastnet} | R Documentation |
fastnet
to edgelist
Description
Coerce a fastnet object to edgelist.
Usage
to.edgelist(network, ncores)
Arguments
network |
A fastnet object. |
ncores |
The number of cores to be used. |
Value
A 2-column list with each row representing an edge, from source to destination
Author(s)
Xu Dong
Examples
## Not run:
g <- net.erdos.renyi.gnp(100, 0.1)
el <- to.edgelist(g)
## End(Not run)
[Package fastnet version 1.0.0 Index]