powered by
Check if a node is a tip.
# S3 method for PhyloSim is.tip(this, node=NA, ...)
A PhyloSim object.
A node identifier (integer vector of length one).
Not used.
TRUE or FALSE
For more information see PhyloSim.
PhyloSim
# NOT RUN { # create a PhyloSim object sim<-PhyloSim(phylo=rcoal(5)); # check if node 4 is a tip is.tip(sim,4) # check if node 6 is a tip is.tip(sim,6) # }
Run the code above in your browser using DataLab