Learn R Programming

diathor (version 0.1.0)

diat_disp: Calculates the Diatom Index for Soda Pans (DISP)

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:

  • Stenger-Kov<U+00E1>cs, C., K<U+00F6>rmendi, K., Lengyel, E., Abonyi, A., Hajnal, <U+00C9>., Szab<U+00F3>, B., Buczk<U+00F3>, K. & Padis<U+00E1>k, J. (2018). Expanding the trait-based concept of benthic diatoms: Development of trait-and species-based indices for conductivity as the master variable of ecological status in continental saline lakes. Ecological Indicators, 95, 63-74.

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

Usage

diat_disp(resultLoad, maxDistTaxa = 2)

Arguments

resultLoad

The resulting list obtained from the diat_loadData() function

maxDistTaxa

Integer. Number of characters that can differ in the species' names when compared to the internal database's name in the heuristic search. Default = 2

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())
dispResults <- diat_disp(df)
# }

Run the code above in your browser using DataLab