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

# S3 method for 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

rc1 <- rCompare(iris,iris)
#> Running rCompare...
#> Warning: `select_()` was deprecated in dplyr 0.7.0. #> Please use `select()` instead.
print(rc1)
#> All columns were compared, all rows were compared #> All compared variables match #> Number of rows compared: 150 #> Number of columns compared: 5