Learn R Programming

smoof (version 1.6.0.3)

makeFunctionsByName: Generate smoof function by passing a character vector of generator names.

Description

This function is especially useful in combination with filterFunctionsByTags to generate a test set of functions with certain properties, e.~g., multimodality.

Usage

makeFunctionsByName(fun.names, ...)

Value

[smoof_function]

Arguments

fun.names

[character]
Non empty character vector of generator function names.

...

[any]
Further arguments passed to generator.

See Also

filterFunctionsByTags

Examples

Run this code
# generate a testset of multimodal 2D functions
if (FALSE) {
test.set = makeFunctionsByName(filterFunctionsByTags("multimodal"), dimensions = 2L, m = 5L)
}

Run the code above in your browser using DataLab