Learn R Programming

vacuum

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

I'll release this on CRAN once they begin accepting packages again (after their summer hiatus). In the meantime, you can try:

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)

Copy Link

Version

Install

install.packages('vacuum')

Monthly Downloads

180

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Ron Sielinski

Last Published

September 8th, 2020

Functions in vacuum (0.1.0)

table_2

Table 2
a_qnorm

Returns the typical value from a unit-normal distribution
vacuum_cleaner

Returns the residuals of a two-way table after removing systemic effects
funop

Identifies outliers in a numeric vector
table_1

Table 1
funor_funom

Identifies and treats outliers in a two-way table
table_8

Table 8
%>%

Pipe operator
vacuum-package

vacuum: Tukey's Vacuum Cleaner