Description Usage Arguments Value Examples
View source: R/term_selection.R
Selects only the node strength data from a graph.
1 | make_importance(graph, imp_method = "strength")
|
graph |
an igraph graph |
imp_method |
a character specifying the importance measurement to be used; takes arguments of "strength", "eigencentrality", "alpha", "betweenness", "hub" or "power" |
a data frame of node strengths, ranks, and names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | dfm <- create_dfm(
elements = c(
"Cross-scale occupancy dynamics of a postfire specialist
in response to variation across a fire regime",
"Variation in home-range size of Black-backed Woodpeckers",
"Black-backed woodpecker occupancy in burned and beetle-killed forests"
),
features = c("occupancy", "variation", "black-backed woodpecker", "burn")
)
my_network <- create_network(search_dfm = as.matrix(dfm),
min_studies = 1,
min_occ = 1)
make_importance(my_network, imp_method = "strength")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.