Learn R Programming

diathor (version 0.0.6)

diat_idch: Calculates the Swiss Diatom Index (IDCH)

Description

The input for all of these functions is the resulting dataframe (resultLoad) obtained from the diat_loadData() function A CSV or dataframe cannot be used directly with these functions, they have to be loaded first with the diat_loadData() function so the acronyms and species' names are recognized References for the index:

  • H<U+00FC>rlimann J., Niederhauser P. 2007: M<U+00E9>thodes d<U+2019>analyse et d<U+2019>appr<U+00E9>ciation des cours d<U+2019>eau. Diatom<U+00E9>es Niveau R (r<U+00E9>gion). <U+00C9>tat de l<U+2019>environnement n<U+00B0> 0740. Office f<U+00E9>d<U+00E9>ral de l<U+2019>environnement, Berne. 132 p

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.org/10.1016/j.ecolind.2019.105951

Usage

diat_idch(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())
idchResults <- diat_idch(df)
# }

Run the code above in your browser using DataLab