igraph / rigraph

igraph R package
https://r.igraph.org
532 stars 200 forks source link

Add `igraph_mean_degree()` to R #1380

Open szhorvat opened 1 month ago

szhorvat commented 1 month ago

Add igraph_mean_degree() to R. While trivial, this is very commonly needed useful functionality, so it makes sense to have a convenience function. I suggest the name mean_degree().