group_index: Group ESG and Index

Description Usage Arguments

View source: R/group_index.R

Description

Using morphological (external morphology, internal anatomy and texture), physiological (surface area/volume ratio, photosynthetic/non-photosynthetic ratio, photosynthetic performance, growth and light adaptation) and life history (longevity and succession) traits along with distributional data across eutrophication gradients, different benthic macrophyte ESG's relevant to nutrient and light responses in transitional waters were determined (Orfanidis et al., 2014)

ESG I (slow-growing, late-successional species) and ESG II (fast-growing, opportunistic species) are both divided hierarchically into three sub-groups, as follows: ESG IA, ESG IB, ESG IC, ESG IIA, ESG IIB and ESG IIC.

Usage

1
group_index(data, id_names = c("Taxa"), col_data = "Taxa", variable_name = "variable", by = NULL, ref = NULL, add = NULL, k = NULL, na.rm = FALSE)

Arguments

data

data.table or data.frame

id_names

vector of id variables. Can be integer (corresponding id column numbers) or character (id column names).

col_data

name of the column containing the names of the taxa

variable_name

name for the measured variable names column. The default name is "'variable'"

by

group by

ref

data.tabel or data.frame with reference data for esg

add

append functional group default

k

append functional group default

na.rm

remove NA


salah31416/eeiR documentation built on June 16, 2020, 9:34 p.m.