Learn R Programming

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

EnvStats

This is the development place for R-package EnvStats

Author: Steven P. Millard

Maintainer: Alexander Kowarik

Copy Link

Version

Install

install.packages('EnvStats')

Monthly Downloads

20,755

Version

2.7.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Last Published

March 7th, 2022

Functions in EnvStats (2.7.0)

EPA.09.Ex.10.1.nickel.df

Nickel Concentrations from Example 10-1 of 2009 USEPA Guidance Document
EPA.02d.Ex.2.ug.per.L.vec

Concentrations in Exhibit 2 of 2002d USEPA Guidance Document
Benthic.df

Benthic Data from Monitoring Program in Chesapeake Bay
EPA.02d.Ex.6.mg.per.kg.vec

Concentrations in Exhibit 6 of 2002d USEPA Guidance Document
CastilloAndHadi1994

Abstract: Castillo and Hadi (1994)
ACE.13.TCE.df

Trichloroethylene Concentrations Before and After Remedation
Distribution.df

Data Frame Summarizing Available Probability Distributions and Estimation Methods
Chi

The Chi Distribution
EPA.02d.Ex.9.mg.per.L.vec

Concentrations in Exhibit 9 of 2002d USEPA Guidance Document
EPA.09.Ex.14.1.manganese.df

Manganese Concentrations from Example 14-1 of 2009 USEPA Guidance Document
EPA.02d.Ex.4.mg.per.kg.vec

Concentrations in Exhibit 4 of 2002d USEPA Guidance Document
EPA.09.Ex.12.4.naphthalene.df

Naphthalene Concentrations from Example 12-4 of 2009 USEPA Guidance Document
EPA.09.Ex.16.2.benzene.df

Benzene Concentrations from Example 16-2 of 2009 USEPA Guidance Document
EPA.09.Ex.16.4.copper.df

Copper Concentrations from Example 16-4 of 2009 USEPA Guidance Document
EPA.09.Ex.18.1.arsenic.df

Arsenic Concentrations from Example 18-1 of 2009 USEPA Guidance Document
EPA.09.Ex.13.1.iron.df

Iron Concentrations from Example 13-1 of 2009 USEPA Guidance Document
EPA.09.Ex.17.7.sodium.df

Sodium Concentrations from Example 17-7 of 2009 USEPA Guidance Document
EPA.09.Ex.18.2.chrysene.df

Chrysene Concentrations from Example 18-2 of 2009 USEPA Guidance Document
EPA.09.Ex.18.3.TCE.df

Trichloroethylene Concentrations from Example 18-3 of 2009 USEPA Guidance Document
EPA.09.Ex.17.3.chrysene.df

Chrysene Concentrations from Example 17-3 of 2009 USEPA Guidance Document
EPA.09.Ex.15.1.manganese.df

Manganese Concentrations from Example 15-1 of 2009 USEPA Guidance Document
EPA.09.Ex.21.2.benzene.df

Benzene Concentrations from Example 21-2 of 2009 USEPA Guidance Document
EPA.09.Ex.17.2.toluene.df

Toluene Concentrations from Example 17-2 of 2009 USEPA Guidance Document
EPA.09.Ex.16.1.sulfate.df

Sulfate Concentrations from Example 16-1 of 2009 USEPA Guidance Document
EPA.09.Ex.7.1.arsenic.df

Arsenic concentrations from Example 7.1 of 2009 USEPA Guidance Document
EPA.09.Ex.6.3.sulfate.df

Sulfate Concentrations from Example 6-3 of 2009 USEPA Guidance Document
EPA.09.Ex.14.3.alkalinity.df

Alkalinity Measures from Example 14-3 of 2009 USEPA Guidance Document
EPA.09.Ex.14.4.arsenic.df

Arsenic Concentrations from Example 14-4 of 2009 USEPA Guidance Document
EPA.09.Ex.21.1.aldicarb.df

Aldicarb Concentrations from Example 21-1 of 2009 USEPA Guidance Document
EPA.09.Ex.17.6.sulfate.df

Sulfate Concentrations from Example 17-6 of 2009 USEPA Guidance Document
EPA.09.Ex.17.5.chloride.df

Chloride Concentrations from Example 17-5 of 2009 USEPA Guidance Document
EPA.09.Ex.20.1.nickel.df

Nickel Concentrations from Example 20-1 of 2009 USEPA Guidance Document
EPA.09.Ex.14.8.df

Analyte Concentrations from Example 14-8 of 2009 USEPA Guidance Document
EPA.89b.lead.df

Lead Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.11.1.arsenic.df

Arsenic Concentrations from Example 11-1 of 2009 USEPA Guidance Document
EPA.09.Ex.17.3.log.chrysene.df

Log-transformed Chrysene Concentrations from Example 17-3 of 2009 USEPA Guidance Document
EPA.09.Ex.12.1.ccl4.df

Carbon Tetrachloride Concentrations from Example 12-1 of 2009 USEPA Guidance Document
EPA.09.Ex.16.5.PCE.df

Tetrachloroethylene Concentrations from Example 16-5 of 2009 USEPA Guidance Document
EPA.09.Ex.19.2.chloride.df

Chloride Concentrations from Example 19-2 of 2009 USEPA Guidance Document
EPA.09.Ex.19.5.mercury.df

Mercury Concentrations from Example 19-5 of 2009 USEPA Guidance Document
EPA.09.Ex.17.1.loglead.df

Log-transformed Lead Concentrations from Example 17-1 of 2009 USEPA Guidance Document
EPA.89b.aldicarb2.df

Aldicarb Concentrations from 1989 USEPA Guidance Document
EPA.89b.benzene.df

Benzene Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.17.4.copper.df

Copper Concentrations from Example 17-4 of 2009 USEPA Guidance Document
EPA.09.Ex.18.4.xylene.df

Xylene Concentrations from Example 18-4 of 2009 USEPA Guidance Document
EPA.09.Ex.21.6.nitrate.df

Nitrate Concentrations from Example 21-6 of 2009 USEPA Guidance Document
EPA.09.Ex.19.1.sulfate.df

Sulfate Concentrations from Example 19-1 of 2009 USEPA Guidance Document
EPA.09.Table.9.1.TCE.df

Trichloroethene concentrations in Table 9.1 of 2009 USEPA Guidance Document
EPA.89b.loglead.df

Log-transformed Lead Concentrations from 1989 USEPA Guidance Document
EPA.09.Table.9.4.nickel.vec

Nickel Concentrations in Table 9-4 of 2009 USEPA Guidance Document
EPA.09.Table.9.3.df

Arsenic, Mercury and Strontium Concentrations in Table 9-3 of 2009 USEPA Guidance Document
EPA.89b.t29.df

T-29 Concentrations from 1989 USEPA Guidance Document
EPA.89b.toc.vec

Total Organic Carbon Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.21.7.TCE.df

Trichloroethylene Concentrations from Example 21-7 of 2009 USEPA Guidance Document
EPA.92c.arsenic3.df

Arsenic Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.21.5.beryllium.df

Beryllium Concentrations from Example 21-5 of 2009 USEPA Guidance Document
EPA.89b.chlordane1.df

Chlordane Concentrations from 1989 USEPA Guidance Document
EPA.92c.arsenic1.df

Arsenic Concentrations from 1992 USEPA Guidance Document
EPA.89b.cadmium.df

Cadmium Concentrations from 1989 USEPA Guidance Document
EPA.92c.arsenic2.df

Arsenic Concentrations from 1992 USEPA Guidance Document
EPA.92c.benzene1.df

Benzene Concentrations from 1992 USEPA Guidance Document
EPA.92d.chromium.vec

Chromium Concentrations from 1992 USEPA Guidance Document
EPA.97.cadmium.111.df

Calibration Data for Cadmium at Mass 111
EPA.92d.chromium.df

Chromium Concentrations from 1992 USEPA Guidance Document
EVD

The Extreme Value (Gumbel) Distribution
EPA.89b.sulfate.df

Sulfate Concentrations from 1989 USEPA Guidance Document
EPA.92c.toluene.df

Toluene Concentrations from 1992 USEPA Guidance Document
EulersConstant

Euler's Constant
EPA.92c.zinc.df

Zinc Concentrations from 1992 USEPA Guidance Document
EPA.89b.manganese.df

Manganese Concentrations from 1989 USEPA Guidance Document
Empirical

The Empirical Distribution Based on a Set of Observations
EnvStats-internal

Internal EnvStats Objects
EPA.89b.aldicarb1.df

Aldicarb Concentrations from 1989 USEPA Guidance Document
EPA.92c.chrysene.df

Chrysene Concentrations from 1992 USEPA Guidance Document
EPA.92c.copper1.df

Copper Concentrations from 1992 USEPA Guidance Document
EPA.92c.copper2.df

Copper Concentrations from 1992 USEPA Guidance Document
FcnsByCatPlotUsingggplot2

EnvStats Functions for Creating Plots Using the ggplot2 Package
FcnsByCatPlotProbDists

EnvStats Functions for Plotting Probability Distributions
FcnsByCat

EnvStats Functions Listed by Category
FcnsByCatMCandRisk

EnvStats Functions for Monte Carlo Simulation and Risk Assessment
FcnsByCatHypothTests

EnvStats Functions for Hypothesis Tests
Gibbons.et.al.09.Alkilinity.vec

Alkilinity Data from Gibbons et al. (2009)
FcnsByCatSumStats

EnvStats Functions for Summary Statistics and Plots
Grice.Bain.80.mat

Adjusted Alpha Levels to Compute Confidence Intervals for the Mean of a Gamma Distribution
GammaAlt

The Gamma Distribution (Alternative Parameterization)
FcnsByCatPower

EnvStats Functions for Power and Sample Size Calculations
Helsel.Cohn.88.app.b.df

Example of Multiply Left-censored Data from Literature
EPA.89b.edb.df

EDB Concentrations from 1989 USEPA Guidance Document
EPA.92c.benzene2.df

Benzene Concentrations from 1992 USEPA Guidance Document
EPA.92c.ccl4.df

Carbon Tetrachloride Concentrations from 1992 USEPA Guidance Document
EPA.92c.lognickel1.df

Log-transformed Nickel Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.22.2.Specific.Conductance.df

Specific Conductance from Example 22-2 of 2009 USEPA Guidance Document
EPA.09.Ex.22.1.VC.df

Vinyl Chloride Concentrations from Example 22-1 of 2009 USEPA Guidance Document
EPA.89b.chlordane2.df

Chlordane Concentrations from 1989 USEPA Guidance Document
FcnsByCatDataTrans

EnvStats Functions for Data Transformations
FcnsByCatPredInts

EnvStats Functions for Prediction Intervals
LognormalTrunc

The Truncated Lognormal Distribution
LognormalTruncAlt

The Truncated Lognormal Distribution (Alternative Parameterization)
FcnsByCatTolInts

EnvStats Functions for Tolerance Intervals
EPA.94b.tccb.df

1,2,3,4-Tetrachlorobenzene Concentrations from 1994 USEPA Guidance Document
FcnsByCatCalibration

EnvStats Functions for Calibration
EPA.94b.lead.df

Lead Concentrations from 1994 USEPA Guidance Document
ProUCL.Crit.Vals.for.KS.Test.for.Gamma.array

ProUCL Critical Values for Kolmogorov-Smirnov Goodness-of-Fit Test for Gamma Distribution
ProUCL.Crit.Vals.for.AD.Test.for.Gamma.array

ProUCL Critical Values for Anderson-Darling Goodness-of-Fit Test for Gamma Distribution
FcnsByCatCensoredData

EnvStats Functions for Censored Data
FcnsByCatTrend

EnvStats Functions for Trend Analysis
Lognormal3

The Three-Parameter Lognormal Distribution
HoskingEtAl1985

Abstract: Hosking et al. (1985)
GEVD

The Generalized Extreme Value Distribution
Lin.Evans.80.df

Fecal Coliform Data from the Illinois River
LognormalAlt

The Lognormal Distribution (Alternative Parameterization)
Modified.TcCB.df

Modified 1,2,3,4-Tetrachlorobenzene Data with Censored Values
Millard.Deverel.88.df

Copper and Zinc Concentrations in Shallow Ground Water
NormalTrunc

The Truncated Normal Distribution
Total.P.df

Total Phosphorus Data from Chesapeake Bay
FcnsByCatEstDistParams

EnvStats Functions for Estimating Distribution Parameters
Olympic.NH4.df

Ammonium Concentration in Precipitation Measured at Olympic National Park Hoh Ranger Station
FcnsByCatPrintPlot

EnvStats Functions for Printing and Plotting Objects of Various S3 Classes
base

Base \(b\) Representation of a Number
Triangular

The Triangular Distribution
boxcox

Boxcox Power Transformation
FcnsByCatProbDists

EnvStats Probability Distributions and Random Numbers
Ozone.NE.df

Ozone Concentrations in the Northeast U.S.
Pareto

The Pareto Distribution
EPA.92c.nickel1.df

Nickel Concentrations from 1992 USEPA Guidance Document
Graham.et.al.75.etu.df

Ethylene Thiourea Dose-Response Data
Gibbons.et.al.09.Vinyl.Chloride.vec

Vinyl Chloride Data from Gibbons et al. (2009)
Environmental

Atmospheric Environmental Conditions in New York City
EPA.92c.nickel2.df

Nickel Concentrations from 1992 USEPA Guidance Document
EnvStats-package

Package for Environmental Statistics, Including US EPA Guidance
boxcoxCensored.object

S3 Class "boxcoxCensored"
boxcoxLm.object

S3 Class "boxcoxLm"
NormalMix

Mixture of Two Normal Distributions
NIOSH.89.air.lead.vec

NIOSH Air Lead Levels Data
boxcox.object

S3 Class "boxcox"
ZeroModifiedLognormalAlt

The Zero-Modified Lognormal (Delta) Distribution (Alternative Parameterization)
ZeroModifiedLognormal

The Zero-Modified Lognormal (Delta) Distribution
boxcoxCensored

Boxcox Power Transformation for Type I Censored Data
FcnsByCatEstDistQuants

EnvStats Functions for Estimating Distribution Quantiles
ZeroModifiedNormal

The Zero-Modified Normal Distribution
aovPower

Compute the Power of a One-Way Fixed-Effects Analysis of Variance
aovN

Compute Sample Size Necessary to Achieve Specified Power for One-Way Fixed-Effects Analysis of Variance
anovaPE

Compute Lack-of-Fit and Pure Error Anova Table for a Linear Model
chenTTest

Chen's Modified One-Sided t-test for Skewed Distributions
LognormalMix

Mixture of Two Lognormal Distributions
Helsel.Cohn.88.silver.df

Silver Concentrations From An Interlab Comparison
Helsel.Hirsch.02.Mayfly.df

Paired Counts of Mayfly Nymphs Above and Below Industrial Outfalls
FcnsByCatGOFTests

EnvStats Functions for Goodness-of-Fit Tests
LognormalMixAlt

Mixture of Two Lognormal Distributions (Alternative Parameterization)
calibrate.object

S3 Class "calibrate"
cdfCompare

Plot Two Cumulative Distribution Functions
ciBinomHalfWidth

Half-Width of Confidence Interval for Binomial Proportion or Difference Between Two Proportions
calibrate

Fit a Calibration Line or Curve
boxcoxTransform

Apply a Box-Cox Power Transformation to a Set of Data
Refinery.CO.df

Carbon Monoxide Emissions from Oil Refinery.
Skagit.NH3_N.df

Ammonia Nitrogen Concentrations in the Skagit River, Marblemount, Washington
ciNormHalfWidth

Half-Width of Confidence Interval for Normal Distribution Mean or Difference Between Two Means
ciBinomN

Sample Size for Specified Half-Width of Confidence Interval for Binomial Proportion or Difference Between Two Proportions
cdfPlot

Plot Cumulative Distribution Function
cdfCompareCensored

Plot Two Cumulative Distribution Functions Based on Censored Data
distChoose.object

S3 Class "distChoose"
ciTableMean

Table of Confidence Intervals for Mean or Difference Between Two Means
ciNparN

Sample Size for Nonparametric Confidence Interval for a Quantile
ciTableProp

Table of Confidence Intervals for Proportion or Difference Between Two Proportions
distChooseCensored

Choose Best Fitting Distribution Based on Goodness-of-Fit Tests for Censored Data
ciNormN

Sample Size for Specified Half-Width of Confidence Interval for Normal Distribution Mean or Difference Between Two Means
cv

Sample Coefficient of Variation.
distChoose

Choose Best Fitting Distribution Based on Goodness-of-Fit Tests
detectionLimitCalibrate

Determine Detection Limit
ciNparConfLevel

Compute Confidence Level Associated with a Nonparametric Confidence Interval for a Quantile