doloGMYC: GMYC results from New Zealand _Dolomedes_ species

Description Usage Format Source Examples

Description

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.

Usage

1
2

Format

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.

Source

Vink, C. J., and Duperre, N. (2010). Pisauridae (Arachnida: Araneae). _Fauna of New Zealand_ *64* 1-54.

Examples

 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)

spiderDev documentation built on May 2, 2019, 5:23 p.m.