The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

networkformat: Convert R Objects to Network Edgelists and Nodelists

Network analysis and plotting packages such as 'igraph', 'tidygraph', and 'ggraph' expect the edges and nodes of a graph as flat tables. Methods are provided to build those tables from data frames (column-pair edges chosen with 'tidyselect' semantics), tree-based model objects ('randomForest', 'tree', 'rpart', 'xgboost', 'gbm'), lists (recursive parent-child edges), and atomic vectors (sequential edges). Graphs can also be constructed in one step via as.igraph() and as_tbl_graph() methods for tree models.

Version: 0.1.2
Depends: R (≥ 3.6.0)
Imports: rlang, tidyselect
Suggests: randomForest, tree, xgboost, gbm, rpart, testthat (≥ 3.0.0), covr, igraph, tidygraph, ggraph, knitr, rmarkdown
Published: 2026-10-16
DOI: 10.32614/CRAN.package.networkformat (may not be active yet)
Author: Jesse Brandt ORCID iD [aut, cre]
Maintainer: Jesse Brandt <jesse.a.brandt at gmail.com>
BugReports: https://github.com/jessebrandtdata/networkformat/issues
License: MIT + file LICENSE
URL: https://jessebrandtdata.github.io/networkformat/, https://github.com/jessebrandtdata/networkformat
NeedsCompilation: no
Citation: networkformat citation info
Materials: README, NEWS
CRAN checks: networkformat results

Documentation:

Reference manual: networkformat.html , networkformat.pdf
Vignettes: Working with edgelists and nodelists (source, R code)
networkformat (source, R code)
Visualizing models as networks (source, R code)

Downloads:

Package source: networkformat_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: networkformat_0.1.2.zip
macOS binaries: r-release (arm64): networkformat_0.1.2.tgz, r-oldrel (arm64): networkformat_0.1.2.tgz, r-release (x86_64): networkformat_0.1.2.tgz, r-oldrel (x86_64): networkformat_0.1.2.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=networkformat to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.