coalmig {genealogy} | R Documentation |
This function generates trees from the symmetric island model.
coalmig(n, M)
n |
The sample size n . |
M |
The scaled migration rate M . |
A simple function to generate trees from the symmetric Island model of Sewell Wright.
Returns an object of class migtree
with
components
t |
The coalescence times |
d1 |
The labels of "left" descendents |
d2 |
The labels of "right" descendents |
location |
The location of samples. |
m1 <- coalmig(c(10,10,10,10,10),M=0.5); plot(m1);