attribute_filter: Return subgraph where attributes match conditions

Description Usage Arguments

View source: R/attribute_filter.R

Description

Use 'attribute_filter()' to find cases where conditions are true given vertex attributes.

Usage

1
attribute_filter(graph, attr_expression)

Arguments

graph

Graph of class 'igraph'

attr_expression

A logical expression defined in terms of the attribute names of graph. only vertices where the expression evaluates to TRUE are kept.


taylorpourtaheri/nr documentation built on Dec. 23, 2021, 7:49 a.m.