excludeTaxa: Excludes the list of taxa from the reconstructions.

View source: R/includeTaxa.R

excludeTaxaR Documentation

Excludes the list of taxa from the reconstructions.

Description

Excludes the list of taxa from the reconstructions.

Usage

excludeTaxa(x, taxa, climate)

Arguments

x

A crestObj produced by one of the crest, crest.get_modern_data, crest.calibrate, crest.reconstruct or loo functions.

taxa

A vector of taxa to exclude.

climate

A vector of climate variables to unlink the taxa with.

Value

Return the updated crestObj.

Examples

data(reconstr)
print(reconstr$inputs$selectedTaxa)
reconstr <- excludeTaxa(reconstr, 'Taxon3', 'bio1')
## 'Taxon3' is now excluded from the reconstruction of 'bio1'.
print(reconstr$inputs$selectedTaxa)


mchevalier2/crestr documentation built on Feb. 14, 2025, 6:31 p.m.