powered by
Takes a an ENMTools clade object and a vector of species names. Drops the species from the tree and removes data from the clade object.
drop.species(clade, species)
An ENMTools clade object
A name or vector of names of species within the enmtools.clade object.
An enmtools.clade object with the provided species dropped both from the tree and from the set of enmtools.species objects.
# NOT RUN { data(iberolacerta.clade) if(requireNamespace("ape", quietly = TRUE)) { new.clade <- drop.species(iberolacerta.clade, c("cyreni", "monticola")) } # }
Run the code above in your browser using DataLab