Make a single (numeric, proportion) cover column from different sorts of input cover
Source:R/make_cover.R
make_cover.Rd
Assumes a numeric (percentage) cover column called 'cover' and character
column called 'cover_code' that is the modified Braun-Blanquet
(Braun-Blanquet 1932)
cover value using
Biological Databases of South Australia
codes (COVCODE
field in BDBSA). Example of lucov
at
envEcosystems::lucover
.
Arguments
- df
Dataframe containing columns to consolidate.
- taxa_col
Character. Name of column containing taxa.
- context
Character. Name of columns defining the context.
- lucov
Dataframe. Lookup from
cover_code
to numeric cover values.- cov_type
Character. Name of column in
lucov
that is used to convert charactercover_code
to numeric values.