water_quality_analysis {metrix} | R Documentation |
Water quality analysis
Description
This function performs all the calculations available in metrix package.
Usage
water_quality_analysis(dataset, store = FALSE, dec_c = ".", verbose = FALSE)
Arguments
dataset |
A data.frame obtained from |
store |
A logical value indicating if the user want to store the results in a file. |
dec_c |
A character used for decimal separator on results file. |
verbose |
A logical value indicating if progress messages should be given. |
Value
This function returns a list with the following components:
bioind_n |
The numerical values of the biotic indexes. |
bioind_c |
The water quality class asign to each sample site according to the numerical value of the biotic index. |
densimetrics |
A data.frame with all the calculated density measures. |
tolmetrics |
A data.frame with all the calculated tolerance measures. |
compmetrics |
A data.frame with all the calculated composition measures. |
trophmetrics |
A data.frame with all the calculated trophic measures. |
richmetrics |
A data.frame with all the calculated richness measures. |
Author(s)
Juan Manuel Cabrera and Julieta Capeletti.
See Also
read_data, biotic_ind, densi_metrics, icbrio_ind, tol_metrics, comp_metrics, troph_metrics, rich_metrics
Examples
#Load example data
example_data
#Run water_quality_analysis with that example_data
complete<-water_quality_analysis(example_data)
#Check results
complete$bioind_n
complete$bioind_c
complete$densimetrics
complete$tolmetrics
complete$compmetrics
complete$trophmetrics
complete$richmetrics