Learn R Programming

jaatha (version 2.7.0)

dm.addOutgroup: Adds an outgroup to a demographic model

Description

This function adds an outgroup consisting of one individual to a demographic model. The outgroup consists of one individual. An outgroup is required for a finite sites analysis.

Usage

dm.addOutgroup(dm, separation.time)

Arguments

dm
The demographic model to which we add the outgroup
separation.time
The time point at which the outgroup splits from the ancestral population. This can be an absolute value (e.g. 10) or relative to another time points (e.g. '5*t_split_1').

Value

  • The extended demographic model