t_mrca: Time until the most recent common ancestor

Description Usage Arguments Examples

View source: R/t_mrca.R

Description

The function creates a continuous phase-type representation of the time until the most recent common ancestor for a specified number of sequences and following Kingsman's coalescent model.

Usage

1
t_mrca(n)

Arguments

n

positive integer larger than 1.

Examples

1
2
ph_mrca <- t_mrca(4)
summary(ph_mrca)

aumath-advancedr2019/ticphasetype documentation built on Jan. 29, 2020, 12:24 p.m.