read_times: Extracts coalescent times from a Multi-Phylo object

Description Usage Arguments Value Examples

View source: R/coal_lik_BSMC.R

Description

Extracts coalescent times from a Multi-Phylo object

Usage

1
read_times(MyTree, sim, factor)

Arguments

MyTree

multiPhylo object containing coalescent trees

sim

integer specifying number of trees to read

factor

numeric value to scale all the times

Value

A matrix of sim rows. Entry x_i,j has the n-j+1-th coalescent time of the i-th tree

Examples

1
read_times(ape::rmtree(3,5),3,1)

phylodyn documentation built on May 29, 2017, 1:28 p.m.