print.dataCompareRobject: Printing RCompare Output

Description Usage Arguments See Also Examples

View source: R/out_printrcompareobject.R

Description

Prints a brief report of an dataCompareR object to the screen.

Usage

1
2
## S3 method for class 'dataCompareRobject'
print(x, nVars = 5, nObs = 5, verbose = FALSE, ...)

Arguments

x

an object of class "dataCompareR", usually a result of a call to rCompare.

nVars

the number of mismatched columns to print and extract rows for

nObs

the number of rows to print from the top and bottom of the mismatched list for each selected column

verbose

logical; if TRUE will print out the full list of columns and rows that do not match

...

Passes additional arguments to print

See Also

Other dataCompareR.functions: generateMismatchData(), rCompare(), saveReport(), summary.dataCompareRobject()

Examples

1
2
rc1 <- rCompare(iris,iris)
print(rc1)  

Example output

Running rCompare...
All columns were compared, all rows were compared 
All compared variables match 
 Number of rows compared: 150 
 Number of columns compared: 5

dataCompareR documentation built on Nov. 23, 2021, 9:06 a.m.