Description Usage Arguments Value Author(s) See Also Examples
Adds, replaces or removes a named BDMethod
method
in a BDMethodList
or
BenchDesign
object with a specified
BDMethod
object.
An existing method can be removed by setting the value to NULL
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | BDMethod(x, i) <- value
## S4 replacement method for signature 'BDMethodList,character,BDMethod'
BDMethod(x, i) <- value
## S4 replacement method for signature 'BDMethodList,character,'NULL''
BDMethod(x, i) <- value
## S4 replacement method for signature 'BenchDesign,character,BDMethod'
BDMethod(x, i) <- value
## S4 replacement method for signature 'BenchDesign,character,'NULL''
BDMethod(x, i) <- value
|
x |
|
i |
character name of method. |
value |
|
modified BenchDesign object
Patrick Kimes
1 2 3 | bd <- BenchDesign()
BDMethod(bd, "avg") <- BDMethod(x = base::mean)
bd
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.