TMRCA {batwing} | R Documentation |
A suick function to calculation the Time since the Most Recent Common Ancestor for BATWING outut
TMRCA(out, generation.time = 25)
out |
BATWING output, read in with rbat |
generation.time |
The generation time in years |
This function only works for data where we have the population size N
A vector of times (in years) ...
Ian Wilson I.J.Wilson@ncl.ac.uk
http://www.mas.ncl.ac.uk/~nijw
data(exampleoutput) a <- TMRCA(trim(exampleoutput,100)) hist(a)