includeTaxa: Includes the list of taxa into the reconstructions.

View source: R/includeTaxa.R

includeTaxaR Documentation

Includes the list of taxa into the reconstructions.

Description

Includes the list of taxa into the reconstructions.

Usage

includeTaxa(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 include.

climate

A vector of climate variables to link the taxa with.

Value

Return the updated crestObj.

Examples

data(reconstr)
print(reconstr$inputs$selectedTaxa)
reconstr <- includeTaxa(reconstr, reconstr$inputs$taxa.name, 'bio12')
## All the taxa are not selected for 'bio12', except for 'Taxon7' for which
## data are unavailable.
print(reconstr$inputs$selectedTaxa)


crestr documentation built on Jan. 6, 2023, 5:23 p.m.