Description Usage Arguments Details Value Examples
(ba) From the parentship matrix computes recursively all paths between two nodes.
1 | pam2path(pam, d, a)
|
pam |
pam object |
d |
departure node (internal number) |
a |
arrival node (internal number) |
The basic idea is quite simple. All paths between d (departure) and a (arrival) are the paths between every children of d and a, so a recursive procedure can be used.
a list of vectors describing all possible paths going from d to a. The list is sorted according to the length of the path.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.