Skip to content

Sielinski/vacuum

Repository files navigation

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 with:

# 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)

About

Tukey's Vacuum Cleaner

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages