Description Usage Arguments Details Value Examples

Just removing from the graph those arcs (and nodes) which does not
belong to a path going from a node to another one.

As graph
comprising cycles can be introduced, both directions can be
considered.

1 |

`gn` |
The object gn to consider. |

`n1` |
First node set to consider |

`n2` |
Second node set to consider |

`quel` |
(=1) which directions to consider ? 1 for n1 to n2; 2 for n2 to n1 and 3 for both directions |

`elono` |
(=TRUE) are eliminated other nodes ? |

To get all descendants of n1, it suffices to put n2 as the complete set of nodes

The reduced object gn. Notice that if a node belongs to n1 (n2) but is not linked to any node of n2 (n1) it will be eliminated if elono is TRUE.

1 2 3 |

g4n documentation built on May 31, 2017, 3:53 a.m.

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.