compareBDData: Compare BDData objects

Description Usage Arguments Value Author(s) See Also Examples

View source: R/compareBenchDesigns.R

Description

Simple comparison of two BDData objects based on comparing both type and data hash.

Usage

1

Arguments

x

a BDData or BenchDesign object

y

a BDData or BenchDesign object

Value

list of two values giving agreement of "data" and "type".

Author(s)

Patrick Kimes

See Also

compareBenchDesigns

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## compare data with same MD5 hash value
bdd1 <- BDData(data.frame(x = 1:10))
bdd1h <- hashBDData(bdd1)
compareBDData(bdd1, bdd1h)

## compare different data, both same type
bdd2 <- BDData(data.frame(x = 2:11))
bdd2h <- hashBDData(bdd2)
compareBDData(bdd1, bdd2)
compareBDData(bdd1h, bdd2h)

## compare completely different data
compareBDData(bdd1, bdd2h)

areyesq89/SummarizedBenchmark documentation built on Sept. 2, 2021, 4:15 p.m.