skyLine: Classic Skyline Estimates

Description Usage Arguments Value

View source: R/phylo_functions.r

Description

Classic Skyline estimates for isochronous or heterochronous data.

Usage

1
skyLine(phy)

Arguments

phy

a list containing a numeric vector of coalescent times (coal_times), a numeric vector of sampling times (samp_times, and a integer vector of number of samples taken at each sampling time (n_sampled).

Value

A list containing a vector of indices k, a vector of midpoints between coalescent times mid_ctime, and a vector of skyline population estimates theta.


faulknerjam/bnps documentation built on Sept. 26, 2020, 8:07 p.m.