BenchDesign {SummarizedBenchmark} | R Documentation

## Create a new BenchDesign

### Description

Initializes a new BenchDesign object for benchmarking methods.

### Usage

    BenchDesign(..., methods = NULL, data = NULL)

    ## S4 method for signature 'ANY'
    BenchDesign(..., methods = NULL, data = NULL)

### Arguments

`...` | named set of `BDMethod` objects and/or unnamed `BenchDesign` objects. Only the methods of any `BenchDesign` object will be used, and the data slot of the objects will be ignored.
`methods` | named set of `BDMethod` objects and/or unnamed `BenchDesign` objects as a list. (default = NULL)
`data` | optional data.frame or other list object to be used in the benchmark. (default = NULL)

### Value

`BenchDesign` object.

### Author(s)

Patrick Kimes

### Examples

    ## with no input
    bd <- BenchDesign()

    ## with toy data.frame
    df <- data.frame(x1 = rnorm(20), y1 = rnorm(20))
    bd <- BenchDesign(data = df)

[Package SummarizedBenchmark version 2.0.1 Index]