Package: HyperG 1.0.0

HyperG: Hypergraphs in R

Implements various tools for storing and analyzing hypergraphs. Handles basic undirected, unweighted hypergraphs, and various ways of creating hypergraphs from a number of representations, and converting between graphs and hypergraphs.

Authors:David J. Marchette

HyperG_1.0.0.tar.gz
HyperG_1.0.0.zip(r-4.5)HyperG_1.0.0.zip(r-4.4)HyperG_1.0.0.zip(r-4.3)
HyperG_1.0.0.tgz(r-4.4-any)HyperG_1.0.0.tgz(r-4.3-any)
HyperG_1.0.0.tar.gz(r-4.5-noble)HyperG_1.0.0.tar.gz(r-4.4-noble)
HyperG_1.0.0.tgz(r-4.4-emscripten)HyperG_1.0.0.tgz(r-4.3-emscripten)
HyperG.pdf |HyperG.html
HyperG/json (API)

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

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

87 exports 0.00 score 17 dependencies 8 scripts 203 downloads

Last updated 4 years agofrom:48fea6d712. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-winOKAug 25 2024
R-4.5-linuxOKAug 25 2024
R-4.4-winOKAug 25 2024
R-4.4-macOKAug 25 2024
R-4.3-winOKAug 25 2024
R-4.3-macOKAug 25 2024

Exports:add.hyperedgesas.binary.hypergraphas.bipartiteas.graphas.hypergraphaseclique_hypergraphcluster_spectraldelete.hyperedgesdual_hypergraphedge_ordersepsilon_hypergraphequivalent.hypergraphsgraph2hypergraphH2hadjacencyhas.empty.hyperedgeshas.hellyhas.isolateshas.loopshcorankhdegreehnameshorderhrankhsizehyper_edgeshypergraph_as_adjacency_matrixhypergraph_as_edgelisthypergraph_as_incidence_matrixhypergraph_from_edgelisthypergraph_from_fuzzy_clusteringhypergraph_from_incidence_matrixhypergraph_from_literalhypergraph_from_membershiphypergraph_from_spectral_clusteringhypergraph_laplacian_matrixhypergraph.add.edgeshypergraph.add.verticeshypergraph.complementhypergraph.delete.edgeshypergraph.delete.verticeshypergraph.disjoint.unionhypergraph.entropyhypergraph.intersectionhypergraph.is.connectedhypergraph.spectrumhypergraph.unionhypergraph2graphincidence_matrixinduced_hypergraphintersection_setis.bi.conformalis.conformalis.empty.hypergraphis.forestis.hellyis.hypergraphis.hypertreeis.linearis.simpleis.staris.treekCoresknn_hypergraphline.graphlsemake_empty_hypergraphpendantplot_geom_hypergraphplot.hypergraphplotDegreeDistributionprint.hypergraphreduce.hypergraphremove.empty.hyperedgesremove.isolatesremove.loopsremove.redundant.verticesreorder_verticessample_geom_hypergraphsample_gnp_hypergraphsample_k_regular_hypergraphsample_k_uniform_hypergraphsample_sbm_hypergraphsimplify.hypergraphsubtree.hypergraphsummary.hypergraph

Dependencies:clicpp11gluegtoolsigraphlatticelifecyclemagrittrMatrixmclustpkgconfigproxyRcppRcppEigenrlangRSpectravctrs

Readme and manuals

Help Manual

Help pageTopics
Hypergraphs in RHyperG-package HyperG
Hypergraph as a bipartite graph.as.bipartite
Convert between hypergraphs and graphs.as.graph as.hypergraph graph2hypergraph hypergraph2graph
Adjacency spectral embedding.ase hypergraph.spectrum lse
Clique Hypergraphclique_hypergraph
Spectral Graph Clusteringcluster_spectral
Dual hypergraph.dual_hypergraph
Epsilon-Ball Hypergraphepsilon_hypergraph
Equivalent Hypergraphsas.binary.hypergraph equivalent.hypergraphs
Two sections of a hypergraph.H2
Helly Propertyhas.helly is.helly
Test for loops, isolates and empty hyper-edges.has.empty.hyperedges has.isolates has.loops
Degrees of a hypergraph.hdegree plotDegreeDistribution
The number of vertices, edges and statistics of the hypergraph.edge_orders hnames horder hsize
Rank of a hypergraph.hcorank hrank
Adjacency Matrix of a Hypergraph.hadjacency hypergraph_as_adjacency_matrix
Hypergraph construction.hypergraph_from_edgelist hypergraph_from_fuzzy_clustering hypergraph_from_incidence_matrix hypergraph_from_membership hypergraph_from_spectral_clustering
Hypergraph from literal.hypergraph_from_literal
Laplacian Matrixhypergraph_laplacian_matrix
Add edges or vertices to a hypergraph.add.hyperedges hypergraph.add.edges hypergraph.add.vertices
Convert between hypergraphs and graphs.hypergraph_as_edgelist hyper_edges
The complement of a hypergraph.hypergraph.complement
Delete edges or vertices of a hypergraph.delete.hyperedges hypergraph.delete.edges hypergraph.delete.vertices
Hypergraph Entropyhypergraph.entropy
Is the hypergraph connected?hypergraph.is.connected
Unions and intersections of hypergraphs.hypergraph.disjoint.union hypergraph.intersection hypergraph.union
Graph Incidence Matrix.hypergraph_as_incidence_matrix incidence_matrix
Induced hypergraph.induced_hypergraph
Conformal Hypergraphsis.bi.conformal is.conformal
Is the hypergraph empty.is.empty.hypergraph
Is an object a hypergraph?is.hypergraph
Test for hypertree.is.hypertree
Is a hypergraph simple/linear?is.linear is.simple
Is a hypergraph a star?intersection_set is.star
Test if a graph is a tree or a forest.is.forest is.tree
K-CoreskCores
K-Nearest Neighbor Hypergraph.knn_hypergraph
Line Graphline.graph
Empty hypergraph.make_empty_hypergraph
Pendant Verticespendant
Plot a hypergraph.plot.hypergraph
Print a hypergraph to the console.print.hypergraph
Remove redundant hyperedges and isolated vertices.reduce.hypergraph remove.empty.hyperedges remove.isolates remove.loops simplify.hypergraph
Remove redundant vertices.remove.redundant.vertices
Reorder the vertices of a hypergraph.reorder_vertices
Construct a hypergraph from a random collection of points.plot_geom_hypergraph sample_geom_hypergraph
Erdos-Renyi hypergraphs.sample_gnp_hypergraph
Random k-uniform and k-regular hypergraphs.sample_k_regular_hypergraph sample_k_uniform_hypergraph
Sample from a stochastic block model.sample_sbm_hypergraph
Subtree Hypergraph.subtree.hypergraph
Print a summary of the hypergraph to the console.summary.hypergraph