Extends vectors to include graph relationships between their elements, and offers tools to compute useful summaries of the graph structure for use in summarising, filtering, and otherwise manipulating the graph. Node identity is positional rather than value-based, so isolated nodes and repeated values are represented without special handling. Three complementary data structures are provided, each an ordinary vector that stays a column in a data frame and slices consistently with it: 'node_vec' is vectorised along the nodes of a graph, 'edge_vec' is vectorised along its edges, and 'agg_vec' (with the tabular 'agg_df') represents the aggregation structure common in data analysis, such as a total row over a set of categories. This makes graph relationships a native part of tidy rectangular data analysis workflows, alongside tools such as those in 'dplyr'. Each of these can also be converted to 'igraph' objects for further analysis.
| Version: | 0.1.0 |
| Imports: | tibble |
| Suggests: | crayon, dplyr, igraph, pillar, testthat (≥ 3.0.0) |
| Published: | 2026-09-03 |
| DOI: | 10.32614/CRAN.package.graphvec |
| Author: | Mitchell O'Hara-Wild
|
| Maintainer: | Mitchell O'Hara-Wild <mail at mitchelloharawild.com> |
| BugReports: | https://github.com/mitchelloharawild/graphvec/issues |
| License: | MIT + file LICENSE |
| URL: | https://pkg.mitchelloharawild.com/graphvec/, https://github.com/mitchelloharawild/graphvec |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | graphvec results |
| Reference manual: | graphvec.html , graphvec.pdf |
| Package source: | graphvec_0.1.0.tar.gz |
| Windows binaries: | r-devel: graphvec_0.1.0.zip, r-release: graphvec_0.1.0.zip, r-oldrel: graphvec_0.1.0.zip |
| macOS binaries: | r-release (arm64): graphvec_0.1.0.tgz, r-oldrel (arm64): graphvec_0.1.0.tgz, r-release (x86_64): graphvec_0.1.0.tgz, r-oldrel (x86_64): graphvec_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=graphvec to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.