View source: R/consensus.edges.R

consensus.edges | R Documentation |

Computes consensus edge lengths from a set of input trees using multiple methods.

```
consensus.edges(trees, method=c("mean.edge","least.squares"), ...)
```

`trees` |
object of class |

`method` |
method for computing the edge lengths. Could be the mean of all trees in which the edge is present, or it could be the least-squares edge lengths computed on the mean patristic distance matrices from the input phylogenies in |

`...` |
optional arguments, the most popular of which is |

An object of class `"phylo"`

with edge lengths.

Liam Revell liam.revell@umb.edu

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.