powered by
Get the number of the tips form a phylo object aggregated by a PhyloSim object.
# S3 method for PhyloSim getNtips(this, ...)
A PhyloSim object
Not used.
A numeric vector of length one.
For more information see PhyloSim.
PhyloSim
# NOT RUN { # create a PhyloSim object sim<-PhyloSim(phylo=rcoal(5)); # get the number of tips getNtips(sim) # get the number of tips via virtual field sim$ntips # }
Run the code above in your browser using DataLab