Learn R Programming

⚠️There's a newer version (3.1.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

17,656

Version

2.6.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Kowarik

Last Published

March 1st, 2022

Functions in EnvStats (2.6.0)

EPA.09.Ex.16.5.PCE.df

Tetrachloroethylene Concentrations from Example 16-5 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.17.1.loglead.df

Log-transformed Lead Concentrations from Example 17-1 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.17.2.toluene.df

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

Manganese Concentrations from Example 14-1 of 2009 USEPA Guidance Document
Chi

The Chi Distribution
EPA.09.Ex.21.2.benzene.df

Benzene Concentrations from Example 21-2 of 2009 USEPA Guidance Document
CastilloAndHadi1994

Abstract: Castillo and Hadi (1994)
EPA.09.Ex.14.3.alkalinity.df

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

Beryllium Concentrations from Example 21-5 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.19.1.sulfate.df

Sulfate Concentrations from Example 19-1 of 2009 USEPA Guidance Document
ACE.13.TCE.df

Trichloroethylene Concentrations Before and After Remedation
EPA.09.Ex.18.4.xylene.df

Xylene Concentrations from Example 18-4 of 2009 USEPA Guidance Document
Benthic.df

Benthic Data from Monitoring Program in Chesapeake Bay
EPA.09.Ex.12.1.ccl4.df

Carbon Tetrachloride Concentrations from Example 12-1 of 2009 USEPA Guidance Document
EPA.89b.cadmium.df

Cadmium Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.6.3.sulfate.df

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

Arsenic Concentrations from Example 11-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.89b.manganese.df

Manganese Concentrations from 1989 USEPA Guidance Document
EPA.89b.chlordane1.df

Chlordane Concentrations from 1989 USEPA Guidance Document
EPA.02d.Ex.4.mg.per.kg.vec

Concentrations in Exhibit 4 of 2002d USEPA Guidance Document
EPA.09.Table.9.4.nickel.vec

Nickel Concentrations in Table 9-4 of 2009 USEPA Guidance Document
EPA.02d.Ex.6.mg.per.kg.vec

Concentrations in Exhibit 6 of 2002d USEPA Guidance Document
EPA.89b.aldicarb1.df

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

Sulfate Concentrations from 1989 USEPA Guidance Document
EPA.89b.t29.df

T-29 Concentrations from 1989 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.94b.lead.df

Lead Concentrations from 1994 USEPA Guidance Document
EPA.89b.toc.vec

Total Organic Carbon Concentrations from 1989 USEPA Guidance Document
EPA.92d.chromium.df

Chromium Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.12.4.naphthalene.df

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

Iron Concentrations from Example 13-1 of 2009 USEPA Guidance Document
EPA.94b.tccb.df

1,2,3,4-Tetrachlorobenzene Concentrations from 1994 USEPA Guidance Document
EPA.92d.chromium.vec

Chromium Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.17.5.chloride.df

Chloride Concentrations from Example 17-5 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.14.4.arsenic.df

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

Analyte Concentrations from Example 14-8 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.22.1.VC.df

Vinyl Chloride Concentrations from Example 22-1 of 2009 USEPA Guidance Document
EPA.09.Ex.22.2.Specific.Conductance.df

Specific Conductance from Example 22-2 of 2009 USEPA Guidance Document
EPA.89b.chlordane2.df

Chlordane Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.16.4.copper.df

Copper Concentrations from Example 16-4 of 2009 USEPA Guidance Document
FcnsByCatCalibration

EnvStats Functions for Calibration
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)
FcnsByCatCensoredData

EnvStats Functions for Censored Data
EPA.02d.Ex.2.ug.per.L.vec

Concentrations in Exhibit 2 of 2002d USEPA Guidance Document
EPA.09.Ex.18.2.chrysene.df

Chrysene Concentrations from Example 18-2 of 2009 USEPA Guidance Document
Distribution.df

Data Frame Summarizing Available Probability Distributions and Estimation Methods
EPA.92c.arsenic2.df

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

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

Arsenic Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.15.1.manganese.df

Manganese Concentrations from Example 15-1 of 2009 USEPA Guidance Document
EPA.92c.copper2.df

Copper Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.20.1.nickel.df

Nickel Concentrations from Example 20-1 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.21.1.aldicarb.df

Aldicarb Concentrations from Example 21-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.09.Table.9.3.df

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

Aldicarb Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.21.6.nitrate.df

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

Trichloroethylene Concentrations from Example 18-3 of 2009 USEPA Guidance Document
EPA.92c.toluene.df

Toluene Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.21.7.TCE.df

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

Log-transformed Nickel Concentrations from 1992 USEPA Guidance Document
EPA.97.cadmium.111.df

Calibration Data for Cadmium at Mass 111
EPA.92c.arsenic3.df

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

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

Benzene Concentrations from 1992 USEPA Guidance Document
EPA.89b.benzene.df

Benzene Concentrations from 1989 USEPA Guidance Document
LognormalTruncAlt

The Truncated Lognormal Distribution (Alternative Parameterization)
LognormalTrunc

The Truncated Lognormal Distribution
ZeroModifiedLognormal

The Zero-Modified Lognormal (Delta) Distribution
EVD

The Extreme Value (Gumbel) Distribution
FcnsByCatHypothTests

EnvStats Functions for Hypothesis Tests
FcnsByCatPlotProbDists

EnvStats Functions for Plotting Probability Distributions
EnvStats-package

Package for Environmental Statistics, Including US EPA Guidance
FcnsByCatMCandRisk

EnvStats Functions for Monte Carlo Simulation and Risk Assessment
Environmental

Atmospheric Environmental Conditions in New York City
FcnsByCatPlotUsingggplot2

EnvStats Functions for Creating Plots Using the ggplot2 Package
ZeroModifiedLognormalAlt

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

EnvStats Probability Distributions and Random Numbers
EPA.92c.nickel2.df

Nickel Concentrations from 1992 USEPA Guidance Document
EPA.92c.nickel1.df

Nickel Concentrations from 1992 USEPA Guidance Document
FcnsByCatPrintPlot

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

The Three-Parameter Lognormal Distribution
EulersConstant

Euler's Constant
LognormalAlt

The Lognormal Distribution (Alternative Parameterization)
EPA.09.Ex.19.2.chloride.df

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

Copper Concentrations from Example 17-4 of 2009 USEPA Guidance Document
EPA.89b.lead.df

Lead Concentrations from 1989 USEPA Guidance Document
FcnsByCat

EnvStats Functions Listed by Category
EPA.09.Ex.19.5.mercury.df

Mercury Concentrations from Example 19-5 of 2009 USEPA Guidance Document
NormalMix

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

NIOSH Air Lead Levels Data
Total.P.df

Total Phosphorus Data from Chesapeake Bay
EPA.89b.loglead.df

Log-transformed Lead Concentrations from 1989 USEPA Guidance Document
ZeroModifiedNormal

The Zero-Modified Normal Distribution
EPA.92c.benzene2.df

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

Carbon Tetrachloride Concentrations from 1992 USEPA Guidance Document
FcnsByCatEstDistQuants

EnvStats Functions for Estimating Distribution Quantiles
EPA.92c.copper1.df

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

Chrysene Concentrations from 1992 USEPA Guidance Document
anovaPE

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

EnvStats Functions for Data Transformations
EnvStats-internal

Internal EnvStats Objects
ciBinomN

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

The Empirical Distribution Based on a Set of Observations
GammaAlt

The Gamma Distribution (Alternative Parameterization)
Gibbons.et.al.09.Alkilinity.vec

Alkilinity Data from Gibbons et al. (2009)
ProUCL.Crit.Vals.for.KS.Test.for.Gamma.array

ProUCL Critical Values for Kolmogorov-Smirnov Goodness-of-Fit Test for Gamma Distribution
LognormalMixAlt

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

S3 Class "distChoose"
FcnsByCatGOFTests

EnvStats Functions for Goodness-of-Fit Tests
ProUCL.Crit.Vals.for.AD.Test.for.Gamma.array

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

EnvStats Functions for Summary Statistics and Plots
aovN

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

Mixture of Two Lognormal Distributions
ciNormHalfWidth

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

EnvStats Functions for Tolerance Intervals
boxcoxCensored.object

S3 Class "boxcoxCensored"
FcnsByCatEstDistParams

EnvStats Functions for Estimating Distribution Parameters
distChooseCensored

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

The Triangular Distribution
FcnsByCatTrend

EnvStats Functions for Trend Analysis
Helsel.Cohn.88.silver.df

Silver Concentrations From An Interlab Comparison
GEVD

The Generalized Extreme Value Distribution
Helsel.Hirsch.02.Mayfly.df

Paired Counts of Mayfly Nymphs Above and Below Industrial Outfalls
Grice.Bain.80.mat

Adjusted Alpha Levels to Compute Confidence Intervals for the Mean of a Gamma Distribution
calibrate.object

S3 Class "calibrate"
Refinery.CO.df

Carbon Monoxide Emissions from Oil Refinery.
cdfCompare

Plot Two Cumulative Distribution Functions
aovPower

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

Table of Confidence Intervals for Proportion or Difference Between Two Proportions
boxcoxLm.object

S3 Class "boxcoxLm"
Skagit.NH3_N.df

Ammonia Nitrogen Concentrations in the Skagit River, Marblemount, Washington
boxcox.object

S3 Class "boxcox"
Helsel.Cohn.88.app.b.df

Example of Multiply Left-censored Data from Literature
NormalTrunc

The Truncated Normal Distribution
boxcoxCensored

Boxcox Power Transformation for Type I Censored Data
chenTTest

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

EnvStats Functions for Prediction Intervals
Modified.TcCB.df

Modified 1,2,3,4-Tetrachlorobenzene Data with Censored Values
HoskingEtAl1985

Abstract: Hosking et al. (1985)
Lin.Evans.80.df

Fecal Coliform Data from the Illinois River
FcnsByCatPower

EnvStats Functions for Power and Sample Size Calculations
cdfCompareCensored

Plot Two Cumulative Distribution Functions Based on Censored Data
Millard.Deverel.88.df

Copper and Zinc Concentrations in Shallow Ground Water
Olympic.NH4.df

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

Sample Coefficient of Variation.
ciBinomHalfWidth

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

The Pareto Distribution
Ozone.NE.df

Ozone Concentrations in the Northeast U.S.
base

Base \(b\) Representation of a Number
ciNormN

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

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

Boxcox Power Transformation
boxcoxTransform

Apply a Box-Cox Power Transformation to a Set of Data
cdfPlot

Plot Cumulative Distribution Function
calibrate

Fit a Calibration Line or Curve
detectionLimitCalibrate

Determine Detection Limit
ciNparN

Sample Size for Nonparametric Confidence Interval for a Quantile
ciTableMean

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

Choose Best Fitting Distribution Based on Goodness-of-Fit Tests
EPA.02d.Ex.9.mg.per.L.vec

Concentrations in Exhibit 9 of 2002d USEPA Guidance Document
EPA.09.Ex.10.1.nickel.df

Nickel Concentrations from Example 10-1 of 2009 USEPA Guidance Document