Description Usage Arguments Value

Get the getParents of a collection of nodes in a graph g, the getParents DO include the input nodes themselves.

1 | ```
getParents(g, nodes)
``` |

`g` |
the graph (as an igraph). |

`nodes` |
the nodes in the graph of which to get the getParents. |

a sorted vector of all parent nodes.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.