Rdocumentation
powered by
Learn R Programming
PhylogeneticEM (version 1.0.0)
sample_edges_intervals: Sample equally espaced edges.
Description
sample_edges_intervals
samples K shifts, each in one of the K intervalles regularly espaced on the height of the tree.
Usage
sample_edges_intervals(tree, K)
Arguments
tree
: imput tree
K
: number of edges to be sampled.
Value
vector of edges
Details
In case where the tree is not ultrametric, its "height" is defined as the minimum tip height.