summary.dataCompareRobject {dataCompareR} | R Documentation |
Summarizing RCompare Output
Description
Summarizing RCompare Output
Usage
## S3 method for class 'dataCompareRobject'
summary(object, mismatchCount = 5, ...)
Arguments
object |
an dataCompareR object, usually a result of a call to |
mismatchCount |
Integer. How many mismatches to include in tables |
... |
Passes any additional arguments (not used in current version) |
Value
The function summary.dataCompareR computes and returns a list of summary details from the dataCompareR output given in object
containing
datanameA |
name of the first dataframe in the compare call |
datanameB |
name of the second dataframe in the compare call |
nrowA |
the number of rows in |
nrowB |
the number of rows in |
version |
the version of |
runtime |
the date and time the dataCompareR object |
rversion |
the version of R used |
datasetSummary |
a data frame containing the meta data information on |
ncolCommon |
the number of columns of the same name contained in both |
ncolInAOnly |
the number of columns only in |
ncolInBOnly |
the number of columns only in |
ncolID |
the number of columns used to match rows in |
typeMismatch |
a data frame detailing which columns in both |
typeMismatchN |
the number of columns with different variable types |
nrowCommon |
the number of rows with matching ID columns in both |
nrowInAOnly |
the number of rows with non matching ID columns in |
nrowInBOnly |
the number of rows with non matching ID columns in |
nrowSomeUnequal |
the number of matched rows where at least one value is unequal |
nrowAllEqual |
the number of matched rows where all values are equal |
ncolsAllEqual |
the number of matched columns where all values are equal |
ncolsSomeUnequal |
the number of matched columns where at least one value is unequal |
colsWithUnequalValues |
a data frame detailing the mismatches for each matched column |
nrowNAmisMatch |
the number of matched numeric rows that contain a NA |
maxDifference |
the maximum difference between numeric columns from all matched columns |
See Also
Other dataCompareR.functions:
generateMismatchData()
,
print.dataCompareRobject()
,
rCompare()
,
saveReport()
Examples
rc1 <- rCompare(iris,iris)
summary(rc1)