Learn R Programming

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,685

Version

3.0.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Last Published

August 24th, 2024

Functions in EnvStats (3.0.0)

EPA.02d.Ex.4.mg.per.kg.vec

Concentrations in Exhibit 4 of 2002d USEPA Guidance Document
CastilloAndHadi1994

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

Trichloroethylene Concentrations Before and After Remedation
BJC.2000.df

Randomly sampled measurements of an analyte in soil samples.
Chi

The Chi Distribution
Beal.2010.Pb.df

Lead concentration in soil samples.
Distribution.df

Data Frame Summarizing Available Probability Distributions and Estimation Methods
Benthic.df

Benthic Data from Monitoring Program in Chesapeake Bay
EPA.02d.Ex.2.ug.per.L.vec

Concentrations in Exhibit 2 of 2002d USEPA Guidance Document
EPA.02d.Ex.6.mg.per.kg.vec

Concentrations in Exhibit 6 of 2002d USEPA Guidance Document
EPA.09.Ex.14.4.arsenic.df

Arsenic Concentrations from Example 14-4 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.12.4.naphthalene.df

Naphthalene Concentrations from Example 12-4 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.14.1.manganese.df

Manganese Concentrations from Example 14-1 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.16.2.benzene.df

Benzene Concentrations from Example 16-2 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.16.4.copper.df

Copper Concentrations from Example 16-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.5.PCE.df

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

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

Sodium Concentrations from Example 17-7 of 2009 USEPA Guidance Document
EPA.02d.Ex.9.mg.per.L.vec

Concentrations in Exhibit 9 of 2002d USEPA Guidance Document
EPA.09.Ex.19.5.mercury.df

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

Nickel Concentrations from Example 10-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.15.1.manganese.df

Manganese Concentrations from Example 15-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.18.4.xylene.df

Xylene Concentrations from Example 18-4 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.21.5.beryllium.df

Beryllium Concentrations from Example 21-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.21.1.aldicarb.df

Aldicarb Concentrations from Example 21-1 of 2009 USEPA Guidance Document
EPA.89b.chlordane2.df

Chlordane Concentrations from 1989 USEPA Guidance Document
EPA.89b.edb.df

EDB Concentrations from 1989 USEPA Guidance Document
EPA.09.Ex.19.1.sulfate.df

Sulfate Concentrations from Example 19-1 of 2009 USEPA Guidance Document
EPA.92c.arsenic1.df

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

Aldicarb Concentrations from 1989 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.92c.arsenic2.df

Arsenic Concentrations from 1992 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.Table.9.1.TCE.df

Trichloroethene concentrations in Table 9.1 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.17.6.sulfate.df

Sulfate Concentrations from Example 17-6 of 2009 USEPA Guidance Document
EPA.89b.benzene.df

Benzene 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.92c.benzene2.df

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

Carbon Tetrachloride Concentrations from 1992 USEPA Guidance Document
EPA.09.Table.9.3.df

Arsenic, Mercury and Strontium Concentrations in Table 9-3 of 2009 USEPA Guidance Document
EPA.92c.chrysene.df

Chrysene Concentrations from 1992 USEPA Guidance Document
Empirical

The Empirical Distribution Based on a Set of Observations
EPA.92c.copper1.df

Copper Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.7.1.arsenic.df

Arsenic concentrations from Example 7.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.92c.arsenic3.df

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

Cadmium Concentrations from 1989 USEPA Guidance Document
EPA.97.cadmium.111.df

Calibration Data for Cadmium at Mass 111
EnvStats-internal

Internal EnvStats Objects
EPA.89b.lead.df

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

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

T-29 Concentrations from 1989 USEPA Guidance Document
EVD

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

Log-transformed Lead Concentrations from 1989 USEPA Guidance Document
EPA.92c.nickel1.df

Nickel Concentrations from 1992 USEPA Guidance Document
FcnsByCatEstDistParams

EnvStats Functions for Estimating Distribution Parameters
FcnsByCatEstDistQuants

EnvStats Functions for Estimating Distribution Quantiles
EPA.89b.toc.vec

Total Organic Carbon Concentrations from 1989 USEPA Guidance Document
Environmental

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

Benzene Concentrations from 1992 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.92c.nickel2.df

Nickel Concentrations from 1992 USEPA Guidance Document
EPA.09.Ex.17.4.copper.df

Copper Concentrations from Example 17-4 of 2009 USEPA Guidance Document
GEVD

The Generalized Extreme Value Distribution
EulersConstant

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

Copper Concentrations from 1992 USEPA Guidance Document
GammaAlt

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

Alkilinity Data from Gibbons et al. (2009)
FcnsByCatCensoredData

EnvStats Functions for Censored Data
EPA.92c.lognickel1.df

Log-transformed Nickel Concentrations from 1992 USEPA Guidance Document
EPA.92d.chromium.df

Chromium Concentrations from 1992 USEPA Guidance Document
FcnsByCatDataTrans

EnvStats Functions for Data Transformations
EPA.94b.lead.df

Lead Concentrations from 1994 USEPA Guidance Document
FcnsByCatPlotUsingggplot2

EnvStats Functions for Creating Plots Using the ggplot2 Package
FcnsByCatPredInts

EnvStats Functions for Prediction Intervals
EPA.09.Ex.18.2.chrysene.df

Chrysene Concentrations from Example 18-2 of 2009 USEPA Guidance Document
EPA.92d.chromium.vec

Chromium Concentrations from 1992 USEPA Guidance Document
Gibbons.et.al.09.Vinyl.Chloride.vec

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

EnvStats Functions for Goodness-of-Fit Tests
EPA.94b.tccb.df

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

EnvStats Functions for Hypothesis Tests
FcnsByCatPrintPlot

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

Mixture of Two Normal Distributions
FcnsByCatTolInts

EnvStats Functions for Tolerance Intervals
Total.P.df

Total Phosphorus Data from Chesapeake Bay
FcnsByCatPlotProbDists

EnvStats Functions for Plotting Probability Distributions
FcnsByCatMCandRisk

EnvStats Functions for Monte Carlo Simulation and Risk Assessment
NormalTrunc

The Truncated Normal Distribution
LognormalTruncAlt

The Truncated Lognormal Distribution (Alternative Parameterization)
Graham.et.al.75.etu.df

Ethylene Thiourea Dose-Response Data
FcnsByCatTrend

EnvStats Functions for Trend Analysis
FcnsByCatPower

EnvStats Functions for Power and Sample Size Calculations
Helsel.Hirsch.02.Mayfly.df

Paired Counts of Mayfly Nymphs Above and Below Industrial Outfalls
Triangular

The Triangular Distribution
Millard.Deverel.88.df

Copper and Zinc Concentrations in Shallow Ground Water
HoskingEtAl1985

Abstract: Hosking et al. (1985)
Grice.Bain.80.mat

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

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

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

Example of Multiply Left-censored Data from Literature
boxcoxCensored

Boxcox Power Transformation for Type I Censored Data
boxcoxTransform

Apply a Box-Cox Power Transformation to a Set of Data
EPA.09.Ex.18.3.TCE.df

Trichloroethylene Concentrations from Example 18-3 of 2009 USEPA Guidance Document
calibrate

Fit a Calibration Line or Curve
Helsel.Cohn.88.silver.df

Silver Concentrations From An Interlab Comparison
cdfCompareCensored

Plot Two Cumulative Distribution Functions Based on Censored Data
LognormalAlt

The Lognormal Distribution (Alternative Parameterization)
Olympic.NH4.df

Ammonium Concentration in Precipitation Measured at Olympic National Park Hoh Ranger Station
Ozone.NE.df

Ozone Concentrations in the Northeast U.S.
ciTableProp

Table of Confidence Intervals for Proportion or Difference Between Two Proportions
EPA.09.Ex.21.6.nitrate.df

Nitrate Concentrations from Example 21-6 of 2009 USEPA Guidance Document
LognormalTrunc

The Truncated Lognormal Distribution
EPA.09.Ex.21.7.TCE.df

Trichloroethylene Concentrations from Example 21-7 of 2009 USEPA Guidance Document
EPA.09.Table.9.4.nickel.vec

Nickel Concentrations in Table 9-4 of 2009 USEPA Guidance Document
LognormalMix

Mixture of Two Lognormal Distributions
Pareto

The Pareto Distribution
cv

Sample Coefficient of Variation.
EPA.89b.aldicarb1.df

Aldicarb Concentrations from 1989 USEPA Guidance Document
ProUCL.Crit.Vals.for.AD.Test.for.Gamma.array

ProUCL Critical Values for Anderson-Darling Goodness-of-Fit Test for Gamma Distribution
EPA.89b.manganese.df

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

Sulfate Concentrations from 1989 USEPA Guidance Document
ZeroModifiedLognormal

The Zero-Modified Lognormal (Delta) Distribution
ZeroModifiedLognormalAlt

The Zero-Modified Lognormal (Delta) Distribution (Alternative Parameterization)
EPA.92c.toluene.df

Toluene Concentrations from 1992 USEPA Guidance Document
ProUCL.5.2.TRS.df

Real dataset from ProUCL 5.2.0.
cdfPlot

Plot Cumulative Distribution Function
chenTTest

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

Half-Width of Confidence Interval for Binomial Proportion or Difference Between Two Proportions
ProUCL.Crit.Vals.for.KS.Test.for.Gamma.array

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

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

Compute the Power of a One-Way Fixed-Effects Analysis of Variance
calibrate.object

S3 Class "calibrate"
detectionLimitCalibrate

Determine Detection Limit
distChoose

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

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

Base \(b\) Representation of a Number
EPA.92c.zinc.df

Zinc Concentrations from 1992 USEPA Guidance Document
ciNparConfLevel

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

Plot Two Cumulative Distribution Functions
ciBinomN

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

EnvStats Functions Listed by Category
FcnsByCatCalibration

EnvStats Functions for Calibration
ciNormHalfWidth

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

Boxcox Power Transformation
FcnsByCatProbDists

EnvStats Probability Distributions and Random Numbers
boxcoxCensored.object

S3 Class "boxcoxCensored"
boxcoxLm.object

S3 Class "boxcoxLm"
FcnsByCatSumStats

EnvStats Functions for Summary Statistics and Plots
Lin.Evans.80.df

Fecal Coliform Data from the Illinois River
ciNparN

Sample Size for Nonparametric Confidence Interval for a Quantile
Lognormal3

The Three-Parameter Lognormal Distribution
ciTableMean

Table of Confidence Intervals for Mean or Difference Between Two Means
Modified.TcCB.df

Modified 1,2,3,4-Tetrachlorobenzene Data with Censored Values
NIOSH.89.air.lead.vec

NIOSH Air Lead Levels Data
Refinery.CO.df

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

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

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

The Zero-Modified Normal Distribution