checkSpeciesTraits: Check if all species in have trait values

Description Usage Arguments Value

View source: R/prepInputObjects.R

Description

Check if all species in have trait values

Usage

1
checkSpeciesTraits(speciesLayers, species, sppColorVect)

Arguments

speciesLayers

stack of species layers rasters

species

a data.table with species traits such as longevity, shade tolerance, etc.

sppColorVect

A named vector of colours to use for plotting. The names must conform with names(speciesLayers) and should also contain a colour for 'Mixed'.

Value

A list with the speciesLayers and sppColorVect containing only the species that have trait values in species


PredictiveEcology/LandR documentation built on Jan. 24, 2021, 12:52 a.m.