Learn R Programming

envalysis

Miscellaneous Functions for Environmental Analyses

envalysis is an R package containing miscellaneous functions for data analysis in environmental chemistry and ecotoxicology. Provides, for example, calibration() to calculate calibration curves and corresponding limits of detection (LODs) and limits of quantification (LOQs) according to German DIN 32645 (2008). texture() makes it easy to estimate soil particle size distributions from hydrometer measurements (ASTM D422-63, 2007). Some functions of the package require ggplot2 or drc.

Functions

The following functions are available:

Data manipulation and analysis

  • Calculating limits of detection lod() and limits of quantification loq() as part of the 'calibration' class to produce linear calibration curves in accordance with German DIN 32645 (2008); see vignette for details
  • Calculating concentrations from calibration curves using inv_predict()
  • Finding optimum weights for weighted calibrations using weight_select()
  • Estimating matrix effects (signal suppression/enhancement) with matrix_effect()
  • Determining particle size distributions and soil texture classes (DIN/USDA) measured with a soil hydrometer in accordance with ASTM D422-63 (2007) using texture(); see vignette for details
  • Confidence intervals CI(), standard errors se(), and root mean square errors rmse()
  • Various sorption isotherms sorption()

Data presentation

  • Categorize water drop penetration times according to Bisdom et al. (1993) with bisdom()
  • Report significant figures, namely round means and errors 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)

You can install the released version of envalysis from CRAN with:

install.packages("envalysis")

Install from GitHub (development version)

To install the development version of this package, paste the following code into your R console (requires devtools):

if(!require(devtools)) install.packages("devtools")
devtools::install_github("zsteinmetz/envalysis")

Copy Link

Version

Install

install.packages('envalysis')

Monthly Downloads

459

Version

0.7.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Zacharias Steinmetz

Last Published

March 20th, 2024

Functions in envalysis (0.7.0)

texture

ASTM soil texture analysis
envalysis-package

envalysis: Miscellaneous Functions for Environmental Analyses
matrix_effect

Assess matrix effects and matrix-matched calibrations
phenolics

Degradation of phenolic compounds by Steinmetz et al. (2019)
rmse

Root mean square error
se

Standard error and confidence interval
bisdom

Categorize water drop penetration times
icp

ICP-AES calibration data
sorption

Sorption isotherms
signifig

Print significant figures
weight_select

Tools for weighted calibrations
theme_publish

ggplot2 theme for scientific publications
neitzel2003

Calibration data from Neitzel (2003)
calibration

Analytical calibration functions
clayloam

Hydrometer readings for a clay loam
din32645

Calibration data from DIN 32645