drop.species: Takes a an ENMTools clade object and a vector of species...

View source: R/drop.species.R

drop.speciesR 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"))
}


danlwarren/ENMTools documentation built on April 23, 2024, 3:12 p.m.