There are two tasks here:
Usage
make_lifeform(
df,
taxa_col = "taxa",
lf_col = "lifeform",
context = NULL,
lulife
)
Arguments
- df
Dataframe with taxa column.
- taxa_col
Character. Name of taxa column.
- lf_col
Character. Name of lifeform (id) column.
- context
Charcter or NULL. Set of columns that define a context within
which to generate lifeform.
- lulife
Dataframe lookup for lifeform.
Value
Dataframe with columns taxa_col, visit col(s), lifeform