Learn R Programming

multiplex (version 1.5)

read.gml: Read gml Files

Description

A function to read files with the gml format.

Usage

read.gml(file, as = c("srt", "array"), directed = TRUE)

Arguments

file
character vector containing a file name or path
as
should the data be given as a srt or with an array format?
directed
(logical) whether the graph is directed or undirected.

Value

  • Depending the option chosen, the output is either a data frame or an array representing the multigraph.

Details

The gml format, an acronym for graph modelling language, provides capabilities to represent multiple networks and add arguments both to the nodes and the edges for visualization purposes.

References

visone Software for the analysis and visualization of social networks. http://visone.info

See Also

write.gml, read.srt