Description Usage Arguments Examples
View source: R/igraph_functions.R
Given a graph, desired attribute values, and the title of the attribute, this function creates a subgraph based on those criteria
1 | subgraph_from_v_attr(g, attr_values, attribute)
|
g: |
graph to be subset |
attr_values: |
Character vector of values of the vertex attribute that are allowed |
attribute: |
Character vector of the vertex attribute upon which to subset |
1 | subgraph_from_v_attr(my_graph, c('yes', 'no'), 'is_it_good')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.