meancoalwithinbetween {genealogy}R Documentation

Calculate mean coalescence times within and between populations

Description

Calculate mean coalescence times within and between populations.

Usage

meancoalwithinbetween(t)

Arguments

t An object of class migtree

Value

Returns a vector of length two, the first is the mean coalescence time within populations, the second the mean coalescence time between populations.

Author(s)

Ian Wilson <I.Wilson@maths.abdn.ac.uk>

See Also

coalmig,meanheight

Examples

m1<- coalmig(c(10,10,10),M=0.5)
meancoalwithinbetween(m1)
meancoalwithinbetween(coalmig(c(10,10,10),M=5))

[Package genealogy version 0.01 Index]