mergeDiffWithData {clinUtils}R Documentation

Merge the 'diff.data' object from compareDiff with the original newData or oldData.

Description

The newData/oldData are merged with diffData based on the columns of diffData excepted 'Comparison type' and 'Version'.

Usage

mergeDiffWithData(diffData, newData, oldData)

Arguments

diffData

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

newData

data.frame object representing the new data

oldData

data.frame object representing the old data

Value

The newData or oldData (as a data frame object) with the extra column 'Comparison type' specifying the type of change, either:


[Package clinUtils version 0.1.5 Index]