Description Usage Arguments Value Examples
If the node attribute exists, TRUE
is returned
silently; otherwise the function throws an informative error.
1 | check_gr(gr, node_attr)
|
gr |
a tidygraph graph object |
node_attr |
name of node attribute to check for |
(silently) TRUE or throws an error with the message: "<node_attr> not a node attribute in the graph"
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.