View source: R/centrality-metadata.R
| list_centralities | R Documentation |
Returns a table of every measure centrality can compute.
For each measure the table records which end of the scale marks a
prominent node, whether the measure accepts mode, whether it
requires a community partition, whether it uses edge weights, and
whether type = "all" holds it back because its cost grows
steeply with network size.
list_centralities(orientation = NULL, costly = NULL, needs_membership = NULL)
orientation |
Keep only measures with this orientation:
|
costly |
Keep only costly measures ( |
needs_membership |
Keep only measures that require a partition
( |
For some measures a low value marks the more central node, so a
descending sort of their column places the most peripheral nodes first.
orientation = "lower" lists them.
A data.frame with one row per measure and the columns
measure (the name to pass to centrality(measures = )),
orientation ("higher" or "lower", which end of
the scale marks a prominent node), mode_aware (whether the
measure accepts mode and its column carries a mode suffix),
needs_membership, uses_weights, and costly
(held back from type = "all"; add it with
include = ). Rows are ordered by measure name.
centrality to compute them,
centrality_degree and the other one-measure verbs.
list_centralities(orientation = "lower")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.