TMRCA {batwing}R Documentation

Calculate the Time since the Most Recent Common Ancestor.

Description

A suick function to calculation the Time since the Most Recent Common Ancestor for BATWING outut

Usage

TMRCA(out, generation.time = 25)

Arguments

out BATWING output, read in with rbat
generation.time The generation time in years

Details

This function only works for data where we have the population size N

Value

A vector of times (in years) ...

Author(s)

Ian Wilson I.J.Wilson@ncl.ac.uk

References

http://www.mas.ncl.ac.uk/~nijw

See Also

lposterior

Examples

data(exampleoutput)
a <- TMRCA(trim(exampleoutput,100))
hist(a)

[Package batwing version 0.1 Index]