Skip to content

Commit

Permalink
Update R/assortativity.R
Browse files Browse the repository at this point in the history
Co-authored-by: Szabolcs Horvát <[email protected]>
  • Loading branch information
maelle and szhorvat authored Jan 23, 2024
1 parent fc1830c commit 26d795d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/assortativity.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ assortativity.degree <- function(graph, directed = TRUE) { # nocov start
#' `TRUE` here to do the natural thing, i.e. use directed version of the
#' measure for directed graphs and the undirected version for undirected
#' graphs.
#' @param normalized Boolean, whether to compute the normalized covariance,
#' i.e. Pearson correlation. Supply true here to compute the standard assortativity.
#' @param normalized Boolean, whether to compute the normalized assortativity.
#' The non-normalized nominal assortativity is identical to modularity.
#' The non-normalized value-based assortativity is simply the covariance of the
#' values at the two ends of edges.
#' @param types1,types2
#' `r lifecycle::badge("deprecated")`
#' Deprecated aliases for `values` and `values.in`, respectively.
Expand Down

0 comments on commit 26d795d

Please sign in to comment.