ave_wdata: Function to average the functional trait data of a group of...

View source: R/ave_wdata.R

ave_wdataR Documentation

Function to average the functional trait data of a group of species

Description

This function averages the functional trait data (SLA, ARNODE, LOGCANH, LOGCAND, VEGPROP) of entered species. This should be used to average data of taxa whose identification is not to species level.

Usage

ave_wdata(newname, species1, species2, species3 = NULL, species4 = NULL)

Arguments

newname

The code of the composite species to be created

species1

The four-three code of the first species to be averaged

species2

The four-three code of the second species to be averaged

species3

The four-three code of the third species to be averaged

species4

The four-three code of the fourth species to be averaged

Details

It is highly recommended that species are only averaged if their functional attributes are similar.

Value

a data frame containing the averaged SLA, ARNODE, LOGCANH, LOGCAND and VEGPROP of the entered species.

Author(s)

Elizabeth Stroud

References

ADD paper

Examples


av_sp<-ave_wdata("bromahs", "bromarv","bromhor", "bromsec")
av_sp

elizabethastroud/FIBS-R-Package documentation built on Sept. 26, 2024, 6:40 p.m.