Learn R Programming

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.2.
##   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.2},
##     url = {https://github.com/SwampThingPaul/NADA2},
##   }

Installation

Development version can be installed from this repo using:

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

To install the deployed version from CRAN use:

install.packages("NADA2")

Copy Link

Version

Install

install.packages('NADA2')

Monthly Downloads

367

Version

1.1.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Julian

Last Published

September 6th, 2024

Functions in NADA2 (1.1.8)

Usci

Interval-censored U-Score
TCE2

TCE2
binaryClust

Cluster Matrix of Binary Censored Data
bestaic

Find the lowest AIC multiple regression model
binarySim

Binary similarity coefficient matrix
cboxplot

Draws censored boxplots
cenQQ

Q-Q Plot censored data
cenTolInt

Upper Tolerance interval for censored data
binaryDiss

Binary dissimilarity coefficient matrix
cenCompareQQ

Censored Q-Q Plot comparison
cenPredInt

Prediction interval for censored data
binaryMDS

Plot Nonmetric Multidimensional Scaling of binary censored data
cen2means

Censored data two-group test for difference in means
cen1way

Peto-Peto one-factor test
cen_signedranktest

Wilcoxcon Signed-Rank test for censored data
cen_signtest

Sign test for censored data
cenpermanova

Censored data one-factor permutation test
cenperm2

Censored two-group permutation test
cenregQQ

Q-Q plot of censored regression residuals
censeaken

Seasonal Kendall permutation test on censored data
cenanova

ANOVA for censored data
cen2way

Parametric Two Factor Fixed Effects ANOVA for censored data
cencorreg

Correlation and Regression with censored data
cfit

Compute an ECDF and Distribution Parameters for Censored Data
cenCompareCdfs

Comparison of empirical cdf of censored data
ordranks

Computes ranks of data with one or multiple detection limits
markers

Markers
cen_paired

Censored data paired t-test
partplots

Partial plots for censored MLE regression
ppw.test

Test for difference in left-censored samples
uscore

U-score (individual value)
cen_ecdf

Censored Empirical Cumulative Distribution Function
kenplot

Plot robust median ATS line for censored data
equivalent_n

Censored data sample size
uscoresi

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

Trend analysis of censored data with a covariate
uscores

Uscores for multiple columns of censored data
centrendsea

Trend analysis of censored data with a covariate and seasonal blocks
uMDS

Plot U-score Nonmetric Multidimensional Scaling of censored data
computeS

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

quantile confidence interval
ATS

Akritas-Theil-Sen line for censored data
ROSci

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

Kendall's tau and ATS line for censored data
Usc

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

Example2
Example1

Example1
Pollen_Thia

Thiamethoxam concentrations in pollen
PbHeron

PbHeron
Brumbaugh

Brumbaugh
Gales_Creek

Gales_Creek
Example3

Example3
anosimPlot

Permutation Analysis of Similarity (anosim) for Censored Data
atrazine

Atrazine concentrations in Nebraska ground water
ReconLogistic

ReconLogistic