compareColumns: Compare columns progressively

Description Usage Arguments Value Examples

View source: R/compareColumns.R

Description

Compare columns progressively in a dataset using a specified operator, that tells how columns should be ordered (eg by default columns should be increasing)

Usage

1
compareColumns(db, operator = "<", row.id = NULL, report.only = TRUE)

Arguments

db

a data.frame with ordered columns

operator

comparison operator

row.id

an optional row id

report.only

logical, whether to include only a report or a matrix with all comparisons results

Value

a list with raw results and a report

Examples

1
2
compareColumns(data.frame(a = c(1,2,3), b = c(0,1,4)),
               row.id = letters[1:3])

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.