Description Usage Arguments Details Value Author(s) See Also Examples

This function finds paths of nodes in a tree. The nodes can be internal and/or terminal (i.e., tips).

1 |

`phy` |
an object of class |

`from, to` |
integers giving node or tip numbers. |

By default, this function returns all the paths from the root to each
tip of the tree. If both arguments `from`

and `to`

are
specified, the shortest path of nodes linking them is returned.

a list of vectors of integers (by default), or a single vector of integers.

Emmanuel Paradis

1 2 3 |

```
[[1]]
[1] 3 1
[[2]]
[1] 3 2
[1] 1 3 2
```

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.