Skip to content

Commit fbbc722

Browse files
committed
Fix #162
1 parent 99805c1 commit fbbc722

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

R/local.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ local_triangles <- function() {
5050
count_triangles(graph = .G())
5151
}
5252
#' @describeIn local_graph Calculates the average degree based on the neighborhood of each node. Wraps [igraph::knn()].
53-
#' @inheritParams igraph::knn
53+
#' @param weights An edge weight vector. For `local_ave_degree`: If this argument
54+
#' is given, the average vertex strength is calculated instead of vertex degree.
55+
#' For `local_transitivity`: if given weighted transitivity using the approach by
56+
#' *A. Barrat* will be calculated.
5457
#' @importFrom igraph knn
5558
#' @export
5659
local_ave_degree <- function(weights = NULL) {

man/local_graph.Rd

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)