Learn R Programming

ProduceR (version 1.0)

toc: TAC-based Outlier Control (TOC)

Description

Generalized detection of outlier values in a database, based on contingency tables (tac)

Usage

toc(
  df1,
  df2,
  values = NULL,
  a = 10,
  r = 0.34,
  sample_rate = 0.01,
  num_but_discrete = "NULL"
)

Value

data.frame

Arguments

df1

Input data.frame (to compare with df2)

df2

Input data.frame (to compare with df1)

values

Vector of columns that serve as measures (amounts, counts, etc.)

a

Allowed absolute variation

r

Allowed relative variation

sample_rate

Sampling rate, if df is a remote table

num_but_discrete

Numeric variables to be treated as discrete modal variables. If 'all', all numeric variables are treated as discrete modal variables.

Details

Currently does not work with values parameter