From a directed graph, this function returns all source nodes, or nodes which only act as head nodes and not as tail nodes.
a directed graph (igraph).
sources returns a numerical vector of source nodes.
Christopher Nobles, Ph.D.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.