get_node | R Documentation |
Extract active nodes using partial matches:
get_node(string_to_match = character, node_names = FALSE, network = grassland_bbn)
string_to_match |
The character string to search. |
node_names |
Defaults to |
network |
Character string of the active target network's name |
Note that because this function returns a list when node_names = FALSE
, this function can handle string_to_match
vectors of length greater than 1, such that if you supply a multi-element vector, a list will be returned. Note that this function no longer supports partial matches at the moment due to an error with the function returning multiple concatenated matches when a partial match is found for more than one node.
Returns a character vector of the node names that match the searched string if node_names = TRUE
, else returns a list of active netica
nodes that match the searched string if node_names = FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.