BIEN_trait_traitbyfamily {BIEN} | R Documentation |
Download trait data for given families and traits.
Description
BIEN_trait_traitbyfamily extracts entries that contain the specified families and trait(s).
Usage
BIEN_trait_traitbyfamily(
family,
trait,
all.taxonomy = FALSE,
political.boundaries = FALSE,
source.citation = FALSE,
...
)
Arguments
family |
A single family or a vector of families. |
trait |
A single trait or a vector of traits. |
all.taxonomy |
Should full taxonomic information and TNRS output be returned? Default is FALSE. |
political.boundaries |
Should political boundary information (country, state, etc.) be returned? Default is FALSE. |
source.citation |
Should readable source information be downloaded for each record? Note that |
... |
Additional arguments passed to internal functions. |
Value
A dataframe of all data matching the specified trait(s) and family/families.
Note
Trait spelling needs to be exact and case-sensitive, see BIEN_trait_list
for a list of traits.
See Also
Other trait functions:
BIEN_trait_country()
,
BIEN_trait_family()
,
BIEN_trait_genus()
,
BIEN_trait_list()
,
BIEN_trait_mean()
,
BIEN_trait_species()
,
BIEN_trait_traitbygenus()
,
BIEN_trait_traitbyspecies()
,
BIEN_trait_traits_per_species()
,
BIEN_trait_trait()
Examples
## Not run:
BIEN_trait_traitbyfamily(trait = "whole plant height", family = "Poaceae")
trait_vector <- c("whole plant height", "leaf fresh mass")
family_vector < -c("Orchidaceae","Poaceae")
BIEN_trait_traitbyfamily(trait = trait_vector, family = family_vector)
## End(Not run)