add_landcover_desc: Add 'extra' ecosystem descriptions

View source: R/make_eco_desc.R

add_landcover_descR Documentation

Add 'extra' ecosystem descriptions

Description

These are usually 'landcover' descriptions.

Usage

add_landcover_desc(
  eco_desc,
  add_eco,
  clust_col = "cluster",
  add_clust_col = "cluster",
  add_name = "Landcover",
  colour_map = NULL,
  add_colour_col = "lc_col"
)

Arguments

eco_desc

Dataframe of existing (floristic) ecosystem descriptions.

add_eco

Dataframe of ecosystems to add.

clust_col

Character name of column with cluster membership in eco_desc.

add_clust_col

Character name of column with cluster membership in add_eco.

add_name

Character name of any prefix to use in descriptions for extra ecosystems. e.g. "Landcover" to make, say, "cropping" into "Landcover: cropping".

colour_map

Dataframe mapping add_clust_col to colour values to use in mapping.

add_colour_col

Character name of column in colour_map that has the colour values.

Value

Dataframe with the same columns as eco_desc but with added rows for each row of add_eco


Acanthiza/envEcosystems documentation built on May 21, 2024, 6:20 p.m.