Learn R Programming

diathor (version 0.1.0)

diat_cemfgs_rb: Calculate the combined classification of ecological guilds and size classes for diatoms

Description

The input for these functions is the resulting dataframe obtained from the diat_loadData() function, to calculate the ecological guilds for the diatoms Sample data in the examples is taken from:

  • Nicolosi Gelis, Mar<U+00ED>a Mercedes; Cochero, Joaqu<U+00ED>n; Donadelli, Jorge; G<U+00F3>mez, Nora. 2020. "Exploring the use of nuclear alterations, motility and ecological guilds in epipelic diatoms as biomonitoring tools for water quality improvement in urban impacted lowland streams". Ecological Indicators, 110, 105951. https://doi:10.1016/j.ecolind.2019.105951

Classification is obtained from:

  • B-B<U+00E9>res, V., T<U+00F6>r<U+00F6>k, P., K<U+00F3>kai, Z., Luk<U+00E1>cs, <U+00C1>., Enik<U+0151>, T., T<U+00F3>thm<U+00E9>r<U+00E9>sz, B., & B<U+00E1>csi, I. (2017). Ecological background of diatom functional groups: Comparability of classification systems. Ecological Indicators, 82, 183-188.

Usage

diat_cemfgs_rb(resultLoad)

Arguments

resultLoad

The resulting list obtained from the diat_loadData() function

Examples

Run this code
# NOT RUN {
# Example using sample data included in the package (sampleData):
data("diat_sampleData")
# First, the diat_loadData() function has to be called to read the data
# The data will be stored into a list (loadedData)
# And an output folder will be selected through a dialog box if resultsPath is empty
# In the example, a temporary directory will be used in resultsPath
df <- diat_loadData(diat_sampleData, resultsPath = tempdir())
guildsResults <- diat_cemfgs_rb(df)
# }

Run the code above in your browser using DataLab