powered by
Counts number of equal rows in two data sets. The two data sets shall have equal number of columns.
noEqualRows(data1, data2, tolerance=1e-5, countOnce=TRUE)
The first data set.
The second data set.
Tolerated difference between two rows.
Shall each equal row in data1 be counted just once, or number of rows it is equal to in data2.
Integer value giving the count of equal instances.
Rows are compared using column-wise comparisons. The sum of differences up to a given tolerance are tolerated.
CORElearn.
CORElearn
# NOT RUN { # uses two randomly generated data sets set.seed(12345) d1 <- classDataGen(100) d2 <- classDataGen(100) noEqualRows(d1, d2, tolerance=1e-4) # }
Run the code above in your browser using DataLab