drop.species {ENMTools} | R Documentation |
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.
Description
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.
Usage
drop.species(clade, species)
Arguments
clade |
An ENMTools clade object |
species |
A name or vector of names of species within the enmtools.clade object. |
Value
An enmtools.clade object with the provided species dropped both from the tree and from the set of enmtools.species objects.
Examples
if(requireNamespace("ape", quietly = TRUE)) {
new.clade <- drop.species(iberolacerta.clade, c("cyreni", "monticola"))
}
[Package ENMTools version 1.1.2 Index]