R: Sample equally spaced edges.

sample_edges_intervals {PhylogeneticEM} | R Documentation

## Sample equally spaced edges.

### Description

`sample_edges_intervals` samples K shifts, each in one of the K intervals regularly spaced on the height of the tree.

### Usage

    sample_edges_intervals(tree, K)

### Arguments

`tree` | : input tree
`K` | : number of edges to be sampled.

### Details

In case where the tree is not ultrametric, its "height" is defined as the minimum tip height.

### Value

vector of edges

[Package PhylogeneticEM version 1.1.0 Index]