addTraits {epm} | R Documentation |
addTraits
Description
Add univariate or multivariate trait data to an epmGrid object.
Usage
addTraits(x, data, replace = FALSE, verbose = FALSE)
Arguments
x |
object of class |
data |
named numeric vector, matrix or dataframe with rownames
corresponding to species in |
replace |
boolean; if data is already a part of |
verbose |
if TRUE, list out all species that are dropped/excluded, rather than counts. |
Details
If any species in data
are not found in the epmGrid
geographical data, then those species will be dropped from data
,
and a warning will be issued.
Value
object of class epmGrid
, with trait data as the list element
named data
.
Author(s)
Pascal Title
Examples
tamiasEPM
tamiasTraits
addTraits(tamiasEPM, tamiasTraits)
[Package epm version 1.1.2 Index]