comparisonTables-common-args: General parameters used for the comparison table...

comparisonTables-common-argsR Documentation

General parameters used for the comparison table functionality

Description

General parameters used for the comparison table functionality

Arguments

newData

data.frame object representing the new data

oldData

data.frame object representing the old data

referenceVars

character vector of the columns in the data that are the used as reference for the comparison.
If not specified, all columns present both in newData and oldData are considered.

changeableVars

character vector of the columns in the data for which you want to assess the change, e.g. variables that might have changed from the old to the new data.
If not specified, only 'Addition' and 'Removal' are detected.

diffData

Object of class 'diff.data' containing differences between datasets, as returned by the compareDiff function.

outputType

String describing which output should be returned, (multiple are possible), either:

  • 'table-comparison': data.frame containing difference between two datasets, see 'output' of compareDiff function.

  • 'table-comparison-interactive': datatable object with differences between the two datasets, see 'output' of exportDiffData.

  • 'newData-diff' or 'oldData-diff': data.frame with new/old data respectively, containing the information if each record differs in the old/new datasets respectively. See output of mergeDiffWithData.

  • 'newData-diff-interactive' or 'oldData-diff-interactive': datatable with new/old data respectively, containing the information if each record differs in the old/new datasets respectively. See output of exportDiffData.

Value

The comparison of the two input tables.


clinUtils documentation built on Jan. 6, 2023, 5:29 p.m.