Description Usage Arguments Details Value Author(s) See Also Examples
The degree of a vertex in a hypergraph is the number of hyper-edges containing the vertex.
1 2 3 4 5 6 | hdegree(h)
plotDegreeDistribution(h, xlab="Degree",
ylab="Density",
add.line=FALSE,
lty=2,lwd=1,line.col=1,
...)
|
h |
a hypergraph. For |
xlab,ylab |
axis labels. |
add.line |
logical. Whether to add a regression line to the plot. |
lty,lwd,line.col |
plotting controls for the line. |
... |
arguments passed to |
Returns a vector of the number of (hyper-)edges containing each vertex.
The plot.hdegree.distributions
plots the distribution of degrees on a
log-log scale, optionally adding a regression line.
a vector of degrees.
David J. Marchette dmarchette@gmail.com
1 2 3 | set.seed(452)
h <- sample_gnp_hypergraph(100,p=.1)
hdegree(h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.