Read UCINET graph files Other datasets http://moreno.ss.uci.edu/data.html
read_pajek(x)
read_ml(x)
read_pajek
, a list with three elements
, a list with three elementsFor read_ml
, a list with two elements:
, a list with two elements:*Arcslist :9 "SAMPPR" ... *Arcslist :10 "SAMNPR"
The output will include data frames of edgelists with those tags.
diffnet_to_igraph
,
netdiffuseR-graphs
,
read_ucinet_head
# From .net: Sampson monastery data from UCINET dataset ---------------------
# Reading the arcs/edges format
path <- system.file("extdata", "SAMPSON.NET", package = "netdiffuseR")
SAMPSON <- read_pajek(path)
# Reading the arcslist/edgelist format
path <- system.file("extdata", "SAMPSONL.NET", package = "netdiffuseR")
SAMPSONL <- read_pajek(path)
# From DL (UCINET): Sampson monastery data (again) --------------------------
path <- system.file("extdata", "SAMPSON.DAT", package = "netdiffuseR")
SAMPSONL <- read_ml(path)
Run the code above in your browser using DataLab