Learn R Programming

HyperG (version 1.0.0)

Hypergraphs in R

Description

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.

Copy Link

Version

Install

install.packages('HyperG')

Monthly Downloads

292

Version

1.0.0

License

GPL (>= 2)

Maintainer

David J Marchette

Last Published

March 4th, 2021

Functions in HyperG (1.0.0)

equivalent.hypergraphs

Equivalent Hypergraphs
hypergraph.entropy

Hypergraph Entropy
hypergraph_from_literal

Hypergraph from literal.
ase

Adjacency spectral embedding.
make_empty_hypergraph

Empty hypergraph.
hypergraph_from_incidence_matrix

Hypergraph construction.
line.graph

Line Graph
hypergraph.complement

The complement of a hypergraph.
pendant

Pendant Vertices
plot.hypergraph

Plot a hypergraph.
H2

Two sections of a hypergraph.
epsilon_hypergraph

Epsilon-Ball Hypergraph
hypergraph_laplacian_matrix

Laplacian Matrix
incidence_matrix

Graph Incidence Matrix.
remove.redundant.vertices

Remove redundant vertices.
sample_geom_hypergraph

Construct a hypergraph from a random collection of points.
dual

Dual hypergraph.
sample_gnp_hypergraph

Erdos-Renyi hypergraphs.
summary.hypergraph

Print a summary of the hypergraph to the console.
horder

The number of vertices, edges and statistics of the hypergraph.
is.tree

Test if a graph is a tree or a forest.
is.conformal

Conformal Hypergraphs
reorder_vertices

Reorder the vertices of a hypergraph.
has.helly

Helly Property
has.isolates

Test for loops, isolates and empty hyper-edges.
is.simple

Is a hypergraph simple/linear?
induced_hypergraph

Induced hypergraph.
sample_k_uniform_hypergraph

Random k-uniform and k-regular hypergraphs.
sample_sbm_hypergraph

Sample from a stochastic block model.
hypergraph.union

Unions and intersections of hypergraphs.
hrank

Rank of a hypergraph.
hypergraph.is.connected

Is the hypergraph connected?
hypergraph_as_adjacency_matrix

Adjacency Matrix of a Hypergraph.
kCores

K-Cores
is.empty.hypergraph

Is the hypergraph empty.
is.hypergraph

Is an object a hypergraph?
is.star

Is a hypergraph a star?
knn_hypergraph

K-Nearest Neighbor Hypergraph.
reduce.hypergraph

Remove redundant hyperedges and isolated vertices.
subtree.hypergraph

Subtree Hypergraph.
print.hypergraph

Print a hypergraph to the console.
is.hypertree

Test for hypertree.
hypergraph.add.edges

Add edges or vertices to a hypergraph.
cluster_spectral

Spectral Graph Clustering
hypergraph.as.edgelist

Convert between hypergraphs and graphs.
as.bipartite

Hypergraph as a bipartite graph.
hdegree

Degrees of a hypergraph.
hypergraph.delete.edges

Delete edges or vertices of a hypergraph.
as.hypergraph

Convert between hypergraphs and graphs.
clique_hypergraph

Clique Hypergraph
HyperG-package

HyperG