Description Usage Format Source Examples
Results of the generalised mixed yule coalescent model (GMYC) on the dataset provided by data(dolomedes)
. They were derived as shown in the example below.
1 2 |
Objects of class ‘gmyc’. doloGMYC
is a single-threshold model, while doloMultGMYC
is a multiple-threshold model.
These objects are created using the gmyc
function from the splits
package, as shown below.
Vink, C. J., and Duperre, N. (2010). Pisauridae (Arachnida: Araneae). _Fauna of New Zealand_ *64* 1-54.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
install.packages("splits", repos = "http://r-forge.r-project.org")
data(dolomedes)
doloTr <- nj(dist.dna(dolomedes))
doloTr <- root(doloTr, node = 43, resolve.root = TRUE)
doloTr2$edge.length[doloTr2$edge.length <= 0] <- 0.00002
doloUTr <- chronopl(doloTr, lambda = 1.6)
#doloGMYC
gmyc(doloUTr)
#doloMultGMYC
gmyc(doloUTr, method = "multiple")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.