envalysis
envalysis
is an R package containing miscellaneous functions for data analyses
in environmental chemistry and ecotoxicology. Provides, e.g., 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()
- Root mean square errors
rmse()
- Limit of detection (LOD)
lod()
and limit of quantification (LOQ)loq()
as
part of the calibration
class to make 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, i.e. 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 github. To install the package, paste the following code into your R console (requires devtools
):
if (!'devtools' %in% installed.packages()[,'Package']) install.packages('devtools')
devtools::install_github('zsteinmetz/envalysis')
require(envalysis)