Learn R Programming

ENMTools (version 1.1.2)

drop.species: 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)

Value

An enmtools.clade object with the provided species dropped both from the tree and from the set of enmtools.species objects.

Arguments

clade

An ENMTools clade object

species

A name or vector of names of species within the enmtools.clade object.

Examples

Run this code
# \donttest{
if(requireNamespace("ape", quietly = TRUE)) {
    new.clade <- drop.species(iberolacerta.clade, c("cyreni", "monticola"))
}
# }

Run the code above in your browser using DataLab