envalysis
envalysis is an R package containing miscellaneous functions for data
analyses in environmental chemistry and ecotoxicology. Provides, for example,
calibration() to calculate calibration curves and corresponding limits of
detection (LODs) and quantification (LOQs) according to German DIN
32645:2008-11. texture() makes it easy to estimate soil particle size
distributions from hydrometer measurements (ASTM D422-63(2007)e2).
Some functions of the package require ggplot2 or drc.
Functions
Currently, the following functions are available:
Data manipulation and analysis
- Confidence intervals
CI()and standard errorsse() - Root mean square errors
rmse() - Limit of detection (LOD)
lod()and limit of quantification (LOQ)loq()as part of thecalibrationclass to produce linear calibration curves according to German DIN 32645:2008-11 - Various sorption isotherms
sorption() - Determine particle size distributions and soil texture classes (DIN/USDA)
measured with a soil hydrometer in accordance with ASTM D422-63(2007)e2 using
texture(); see vignette for details
Data presentation
- Categorize water drop penetration times according to Bisdom et al. (1993)
bisdom() - Report significant figures, namely round means and erros to the least
significant digit, using
signifig() - Clean, black-and-white ggplot2 theme for scientific publications
theme_publish(); a preview is available here
Installation
envalysis is available on CRAN and GitHub.
Install from CRAN (stable version)
install.packages("envalysis")Install from GitHub (development version)
To install the package, paste the following code into your R console (requires devtools):
if (!require(devtools)) install.packages("devtools")
devtools::install_github("zsteinmetz/envalysis")
library(envalysis)