taxon
- Taxon object
taxonName : | String (pass by value) |
The name of the taxon. | |
speciesName : | String (pass by value) |
The name of the species it belongs to. | |
Default : taxonName | |
age : | RealPos (pass by value) |
The (minimum) age before the present when this taxon was sampled. | |
Default : 0 | |
max : | RealPos (pass by value) |
The maximum age before the present when this taxon was sampled. | |
Default : age/min |
# we can create a Taxon object
taxon_gorilla = taxon("Gorilla_gorilla")
# we can create a dummy vector of Taxon objects for simulation
for (i in 1:10) { taxa[i] = taxon("Taxon"+i) }
phy ~ dnBDP(lambda=1, mu=0, rootAge=1, taxa=taxa)
# retrieve the taxon list for 'phy'
phy.taxa()