getTraits | R Documentation |
To be included
getTraits(
tree.data = NULL,
spp.name = "Name_submitted",
trait.cons = NULL,
trait.sp = NULL,
trait.gen = NULL,
trait.fam = NULL,
generaliza = list(c("wsg_gcm3", "LeafType", "SeedMass_g"), c("wsg_gcm3")),
add.spp = NULL,
rm.colunas = NULL,
inc.colunas = NULL
)
tree.data |
a data frame with the species names |
spp.name |
character. The name of the column containing the species names. Defaults to "Name_submitted" |
trait.cons |
a data frame with the extra, consensual species information |
trait.sp |
data frame with the species trait information averaged by species |
trait.gen |
data frame with the species trait information averaged by genus |
trait.fam |
data frame with the species trait information averaged by family |
generaliza |
a list containing the vectors of traits which can be generalized at genera and family levels, respectively. Defaults to list(c("wsg_gcm3","LeafType","SeedMass_g"),c("wsg_gcm3")) |
add.spp |
data frame with species to be added to the trait retrieval |
rm.colunas |
vector of extra columns names that will be removed from the original dataframe. Default is NULL but a vector is provided with the most commonly removed columns |
inc.colunas |
vector of columns names that should be included contained in the vector of often-excluded columns. Default is NULL (i.e. keep the vector of often-excluded columns the same) |
To be included
To be described
Renato A. F. de Lima
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.