View source: R/search-degrees.R
search_degrees | R Documentation |
Compute degree count stratified by node type using either an edge list or neighbor reference object computed by get_neighbor_list()
.
search_degrees(
root,
type = NA,
reference_list,
list_type = c("edge", "neighbor"),
consider_edge_type = TRUE
)
root |
ID of the root node. |
type |
Desired type of the neighbors. |
reference_list |
Either an edge list as a
|
list_type |
If an edge list is provided, specify |
consider_edge_type |
Should |
Degree count stratified by type.
get_neighbor_list()
for neighbor reference object construction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.