Learn R Programming

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

NADA2

Table of Contents

Introduction

For many environmental professionals, the way to deal with “nondetects” is less than obvious. Values below detection or reporting limits result from measuring trace amounts of a variety of organic and inorganic chemicals. This package includes methods for plotting, computing summary statistics, hypothesis tests, and regression models for data with one or more detection limits. Most are adaptations of or direct use of existing methods found in survival analysis (such as in the survival package) and in cancer research (such as in the interval package).

This package is a series of new procedures or improvements on current ones in the NADA package developed through a series of webinars, online courses, and updates to Helsel (2004) and Helsel (2011).

  • Helsel, D.R., 2004. Nondetects and Data Analysis: Statistics for Censored Environmental Data, 1st edition. ed. Wiley-Interscience, Hoboken, N.J.
  • Helsel, D.R., 2011. Statistics for Censored Environmental Data Using Minitab© and R, 2nd edition. ed. Wiley-Interscience, Hoboken, N.J.

Citing package

citation('NADA2')
## 
## To cite package 'NADA2' in publications use:
## 
##   Paul Julian and Dennis Helsel (2021). NADA2: Data Analysis for
##   Censored Environmental Data. R package version 1.0.0.
##   https://github.com/SwampThingPaul/NADA2
## 
## A BibTeX entry for LaTeX users is
## 
##   @Manual{,
##     title = {NADA2: Data Analysis for Censored Environmental Data},
##     author = {Paul Julian and Dennis Helsel},
##     year = {2021},
##     note = {R package version 1.0.0},
##     url = {https://github.com/SwampThingPaul/NADA2},
##   }

Installation

Development version can be installed from this repo.

install.packages("devtools");# if you do not have it installed on your PC
devtools::install_github("SwampThingPaul/NADA2")

Copy Link

Version

Install

install.packages('NADA2')

Monthly Downloads

367

Version

1.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Julian

Last Published

April 30th, 2021

Functions in NADA2 (1.0.1)

Usc

U-scores for (non-interval, sinle-column) Censored Data
ATS

Akritas-Theil-Sen line for censored data
ROSci

Computes confidence intervals on regression on order statistics (ROS) mean
Usci

Interval-censored U-Score
Brumbaugh

Brumbaugh
PbHeron

PbHeron
NADA2_survmean

Summary statistics of survival curve (from survival:::survmean)
ATSmini

Kendall's tau and ATS line for censored data
binaryClust

Cluster Matrix of Binary Censored Data
cboxplot

Draws censored boxplots
binarySim

Binary similarity coefficient matrix
bestaic

Find the lowest AIC multiple regression model
anosimPlot

Permutation Analysis of Similarity (anosim) for Censored Data
atrazine

Atrazine concentrations in Nebraska ground water
cenCompareCdfs

Comparison of empirical cdf of censored data
cenCompareQQ

Censored Q-Q Plot comparison
cenperm2

Censored two-group permutation test
cencorreg

Correlation and Regression with censored data
cen_paired

Censored data paired t-test
cen_signedranktest

Wilcoxcon Signed-Rank test for censored data
cenTolInt

Upper Tolerance interval for censored data
cen_ecdf

Censored Empirical Cumulative Distribution Function
cen1way

Peto-Peto one-factor test
binaryMDS

Plot Nonmetric Multidimensional Scaling of binary censored data
cen_signtest

Sign test for censored data
binaryDiss

Binary dissimilarity coefficient matrix
cenPredInt

Prediction interval for censored data
partplots

Partial plots for censored MLE regression
ordranks

Computes ranks of data with one or multiple detection limits
cen2means

Censored data two-group test for difference in means
kenplot

Plot robust median ATS line for censored data
equivalent_n

Censored data sample size
cenpermanova

Censored data one-factor permutation test
ppw.test

Test for difference in left-censored samples
quantile_CI

quantile confidence interval
cenanova

ANOVA for censored data
censeaken

Seasonal Kendall permutation test on censored data
cenregQQ

Q-Q plot of censored regression residuals
centrend

Trend analysis of censored data with a covariate
uMDS

Plot U-score Nonmetric Multidimensional Scaling of censored data
uscore

U-score (individual value)
cenQQ

Q-Q Plot censored data
cfit

Compute an ECDF and Distribution Parameters for Censored Data
computeS

Kendall's S-statistic for permutations of censored data
uscoresi

U-scores for interval-censored data (multiple columns)
uscores

Uscores for multiple columns of censored data