Learn R Programming

⚠️There's a newer version (0.7.0) of this package.Take me there.

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

Currently, 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)
  • Finding optimum weights for weighted calibrations using weight_select()
  • Estimating matrix effects (signal suppression/enhancement) with matrix_effect()
  • Determine 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.5.5

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Zacharias Steinmetz

Last Published

August 7th, 2023

Functions in envalysis (0.5.5)

mselect

envalysis reimplementation of mselect
neitzel2003

Calibration data from Neitzel, 2003
rmse

Root mean square error
bisdom

Categorize water drop penetration times
matrix_effect

Assess matrix effects and matrix-matched calibrations
clayloam

Hydrometer readings for a clay loam
icp

ICP-AES calibration data
din32645

Calibration data from DIN 32645
se

Standard error and confidence interval
signifig

Print significant figures
envalysis-package

envalysis: Miscellaneous Functions for Environmental Analyses
calibration

Analytical calibration functions
texture

ASTM soil texture analysis
sorption

Sorption isotherms
theme_publish

ggplot2 theme for scientific publications
weight_select

Tools for weighted calibrations