Package for Environmental Statistics, Including US EPA Guidance
Overview
Graphical and statistical analyses of environmental data, with focus on analyzing chemical concentrations and physical parameters, usually in the context of mandated environmental monitoring. Major environmental statistical methods found in the literature and regulatory guidance documents, with extensive help that explains what these methods do, how to use them, and where to find them in the literature. Numerous built-in data sets from regulatory guidance documents and environmental statistics literature. Includes scripts reproducing analyses presented in the book "EnvStats: An R Package for Environmental Statistics" (Millard, 2013, Springer, ISBN 978-1-4614-8455-4, doi:10.1007/978-1-4614-8456-1).
- Fixed Equation (5) in the help file for rosnerTest: changed the "t" in the denominator to "t^2". Thanks to Andrea Gallonzelli for reporting this.
- Added the argument ci.method to the function signTest and updated the help file.
- Fixed the function chenTTest so that is correctly returns an objects of class "htestEnvStats".
- Added/Updated the functions print, print.default, print.htest, print.htestEnvStats and associated help files. Objects of class "htest" will now print as before (e.g., what is shown in the Springer users manual "EnvStats: An R Package for Environmental Statistics") if you explicitly call the print() function. See the help files for print.htest and htest.object for examples.
- Updated the help files FcnsByCatEstDistParams and FcnsByCatPrintPlot.
- Updated the help files for enparCensored (noted there are instances where ProUCL 5.2.0 does not agree with enparCensored) and stripChart (expanded the description of the argument group.names).
- Updated Table 1a in the help file for Distribution.df to show the lower range for Lognormal, Lognormal (Alternative), Lognormal Mixture, and Lognormal Mixture (Alternative) is "(0" in instead of "[0". Thanks to Piotr Stokłosa.
-
From NEWS in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: EnvStats/R/EnvStats-internal.R (.Names: 37, .Dim: 10, .Dimnames: 10) '.Names' should be changed to 'names'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE10 OK, 3 NOTE2026-07-16
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 378 (1 internal)
- Examples that run
- 100%240 run in a plain check
- Exported functions with examples
- 93%
- Documented parameters
- 87%
- Return-value docs
- 97%
- Help pages citing references
- 66%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 25
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/alexkowa/envstats on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-04-24 · The repository has a site deploy workflow
Dependencies
Installing EnvStats adds 18 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Show all 47 packagesHide all 47 packages
Code & Tests
Datasets
People & History
Maintainer since 2.3.1 (2018), previously Steven P. Millard (1.0.2 to 2.3.0)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.1.0Latest
- RR 4.5.0 released · 2025-04-11
- 3.0.0
- RR 4.4.0 released · 2024-04-24
- 2.8.12023-08-22 · diff ↗
- 2.8.0
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 2.7.0
- 2.6.02022-03-01 · diff ↗
- 2.5.02022-01-24 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.4.02020-10-21 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
Show 16 earlier eventsHide 16 earlier events
- 2.3.12018-07-15 · diff ↗
- 2.3.02018-05-03 · diff ↗ ·
added 6 exports
distChoose, distChooseCensored, StatNText, StatMeanSDText, StatMedianIQRText, StatTestText - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 2.2.12017-01-14 · diff ↗ ·
added 5 exports
geom_stripchart, stat_n_text, stat_mean_sd_text, stat_median_iqr_text, stat_test_text - 2.1.12016-06-14 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 2.1.02016-04-19 · diff ↗
- 2.0.22015-11-19 · diff ↗
- 2.0.12015-05-25 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 2.0.02015-03-10 · diff ↗ ·
added 6 exports
errorBar, predict, predict.default, print, print.default, print.gofOutlier - 1.0.3
- RR 3.1.0 released · 2014-04-10
- 1.0.22013-10-30
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-10-30
- Total releases
- 18 / 13 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 69 KB / 104 files
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("EnvStats")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.