Learn R Programming

rgexf (version 0.16.3)

read.gexf: Reads gexf (.gexf) file

Description

read.gexf reads gexf graph files and imports its elements as a gexf class object

Usage

read.gexf(x)

Value

A gexf object.

Arguments

x

String. Path to the gexf file.

Author

George Vega Yon

Jorge Fabrega Lacoa

References

The GEXF project website: https://gexf.net

Examples

Run this code

  fn <- system.file("gexf-graphs/lesmiserables.gexf", package = "rgexf")
  mygraph <- read.gexf(fn)

Run the code above in your browser using DataLab