Package: rgraph6 2.0-5

rgraph6: Representing Graphs as 'graph6', 'digraph6' or 'sparse6' Strings

Encode network data as strings of printable ASCII characters. Implemented functions include encoding and decoding adjacency matrices, edgelists, igraph, and network objects to/from formats 'graph6', 'sparse6', and 'digraph6'. The formats and methods are described in McKay, B.D. and Piperno, A (2014) <doi:10.1016/j.jsc.2013.09.003>.

Authors:Michal Bojanowski [aut, cre], David Schoch [aut]

rgraph6_2.0-5.tar.gz
rgraph6_2.0-5.zip(r-4.5)rgraph6_2.0-5.zip(r-4.4)rgraph6_2.0-5.zip(r-4.3)
rgraph6_2.0-5.tgz(r-4.4-x86_64)rgraph6_2.0-5.tgz(r-4.4-arm64)rgraph6_2.0-5.tgz(r-4.3-x86_64)rgraph6_2.0-5.tgz(r-4.3-arm64)
rgraph6_2.0-5.tar.gz(r-4.5-noble)rgraph6_2.0-5.tar.gz(r-4.4-noble)
rgraph6_2.0-5.tgz(r-4.4-emscripten)rgraph6_2.0-5.tgz(r-4.3-emscripten)
rgraph6.pdf |rgraph6.html
rgraph6/json (API)
NEWS

# Install 'rgraph6' in R:
install.packages('rgraph6', repos = c('https://mbojan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mbojan/rgraph6/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • d6 - Example vectors of 'graph6', 'sparse6', and 'digraph6' codes
  • g6 - Example vectors of 'graph6', 'sparse6', and 'digraph6' codes
  • s6 - Example vectors of 'graph6', 'sparse6', and 'digraph6' codes
  • sampleg6 - Example vectors of 'graph6', 'sparse6', and 'digraph6' codes

On CRAN:

network-analysis

5.68 score 12 stars 8 scripts 199 downloads 23 exports 1 dependencies

Last updated 2 months agofrom:6b9ee196b4. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-win-x86_64OKNov 04 2024
R-4.5-linux-x86_64OKNov 04 2024
R-4.4-win-x86_64OKNov 04 2024
R-4.4-mac-x86_64OKNov 04 2024
R-4.4-mac-aarch64OKNov 04 2024
R-4.3-win-x86_64OKNov 04 2024
R-4.3-mac-x86_64OKNov 04 2024
R-4.3-mac-aarch64OKNov 04 2024

Exports:adjacency_from_digraph6adjacency_from_graph6adjacency_from_textas_digraph6as_graph6as_sparse6choose_formatedgelist_from_sparse6edgelist_from_textgraph_as_textguess_formatigraph_from_digraph6igraph_from_graph6igraph_from_sparse6igraph_from_textis_digraph6is_graph6is_sparse6network_from_digraph6network_from_graph6network_from_sparse6network_from_textread_file6

Dependencies:Rcpp

Examples of the use of the 'rgraph6' package

Rendered fromrgraph6.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-01-04
Started: 2017-04-15

Readme and manuals

Help Manual

Help pageTopics
rgraph6: Representing Graphs as 'graph6', 'digraph6' or 'sparse6' Stringsrgraph6-package rgraph6 _PACKAGE
Create adjacency matrices from 'graph6', 'sparse6', or 'digraph6' symbolsadjacency_from_text
Encode network data as 'digraph6' symbolsas_digraph6 as_digraph6.default as_digraph6.igraph as_digraph6.list as_digraph6.matrix as_digraph6.network
Encode network data as 'graph6' symbolsas_graph6 as_graph6.default as_graph6.igraph as_graph6.list as_graph6.matrix as_graph6.network
Encode network data as 'sparse6' symbolsas_sparse6 as_sparse6.default as_sparse6.igraph as_sparse6.list as_sparse6.matrix as_sparse6.network
Choose most efficient format heuristicallychoose_format choose_format.default choose_format.list
Create edgelist matrices from 'graph6', 'sparse6', or 'digraph6' symbolsedgelist_from_text
Parsing 'digraph6' symbolsadjacency_from_digraph6 from_digraph6 igraph_from_digraph6 network_from_digraph6
Functions parsing 'graph6' symbolsadjacency_from_graph6 from_graph6 igraph_from_graph6 network_from_graph6
Parsing 'sparse6' symbolsedgelist_from_sparse6 from_sparse6 igraph_from_sparse6 network_from_sparse6
Encode graph as textgraph_as_text graph_as_text.default graph_as_text.list
Create igraph objects from 'graph6', 'sparse6', or 'digraph6' symbolsigraph_from_text
Infer or test for graph6, sparse6, and digraph6 symbolsguess_format is_digraph6 is_graph6 is_sparse6
Create network objects from 'graph6', 'sparse6', or 'digraph6' symbolsnetwork_from_text
Read files of 'graph6', 'sparse6' or 'digraph6' symbolsread_file6
Example vectors of 'graph6', 'sparse6', and 'digraph6' codesd6 g6 s6 sampleg6