suscat: Detect suspected erroneous numeric data in user chosen...

Description Usage Arguments Value Examples

View source: R/suscat.R

Description

Detect suspected erroneous numeric data in user chosen columns

Usage

1
suscat(df, column = NULL, n = 5, num = "percent")

Arguments

df

A dataframe or matrix like object

column

vector like with names of columns to test

n

default to 1, integer number or percentage of suspected values to identify

num

either "number" if n should be read as a number of rows or 'percentage' if a percentage of total rows

Value

list of named vectors containing row numbers per column

Examples

1
suscat(iris, col = c('Sepal.Width', 'Petal.Width'))

UBC-MDS/Rcat documentation built on March 30, 2020, 11:43 p.m.