README.md

vacuum

CRAN_Status_Badge CRAN checks

Vacuum is an implementation in R of three procedures developed by John Tukey: FUNOP (FUll NOrmal Plot), FUNOR-FUNOM (FUll NOrmal Rejection-FUll NOrmal Modification), and vacuum cleaner. Combined, they provide a way to identify, treat, and analyze outliers in two-way (i.e., contingency) tables, as described in his landmark paper "The Future of Data Analysis", Tukey, John W. (1962) https://www.jstor.org/stable/2237638.

Installation

You can install the released version of vacuum from CRAN with:

install.packages("vacuum")
````

You can install the development version, which currently contains only  documentation changes, from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("sielinski/vacuum")

Example

funop identifies outliers in a numeric vector:

library(vacuum)

# example data
dat <-
  c(14, -104, -97, -59, -161, 93, 454, -341, 54, 137, 473, 45, 193, 22)

# outliers flagged as TRUE in the "special" column
funop(dat)



Sielinski/vacuum documentation built on Sept. 15, 2020, 11:32 a.m.