sample_edges_intervals: Sample equally spaced edges.

View source: R/shifts_manipulations.R

sample_edges_intervalsR 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


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.