compareBDData {SummarizedBenchmark} | R Documentation

## Compare BDData objects

### Description

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

### Usage

    compareBDData(x, y)

### 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

    ## 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)

[Package SummarizedBenchmark version 2.8.0 Index]